Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

benjahmen

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    benjahmen reacted to mrludable in Portfolio Site   
    Thanks benjahmen, yea coded all myself, except any Javascript / jQuery (that's next on the list to learn). I'm still getting used to HTML5 & CSS3.
     
    I'm working on a few sites at the moment, so will be adding newer projects to the 'My Work' section, when they're done.
  2. Like
    benjahmen reacted to webdeveloper93 in PHP logon script help!   
    I will pass this on either today or tommorow and nah ur ok I believe your a legit enough member that I can help you out
  3. Like
    benjahmen reacted to webdeveloper93 in PHP logon script help!   
    I can pass your email on to him or her just post what you wanna say in this thread and after I pass it on ill remove the message from this thread
  4. Like
    benjahmen reacted to gadgetgirl in PHP logon script help!   
    Not really sure what the question is anymore. If I understand correctly you require a login form which will check the validity of the password, which is not stored in a database. You then want the logged in status to transfer across different pages in the website.
     
    To securely store the password you can either save an encrypted version of it in a text file outside the webroot directory or in the php file - just be sure you encrypt it. Use html for the display of the login form with an action to a php script to validate the form data and start the session if a valid password has been entered. Then each page should check the session variable and redirect if not valid.
     
    I did not know this - presumably the default is the current script? Would you say it is still better practice to include the action for clarity or does it not matter?
  5. Like
    benjahmen got a reaction from Jo 90 in how to purchase membership?   
    I must be fairly stupid to have not noticed this before!

    Thanks for clearing this up quickly and easily!
  6. Like
    benjahmen reacted to Nillervision in PHP logon script help!   
    I found a newer tutorial on his site. This one appears to cover the same topic using msqli instead
    http://www.developphp.com/view.php?tid=1296
  7. Like
    benjahmen reacted to gadgetgirl in PHP logon script help!   
    Your form doesn't have an action so no processing of the form will ever occur.
    <form action="#" method ="post"> The action field tells the browser which script will process the form - in the above instance, the current script will handle the form. Because the method is set to 'post', all the form variables can be accessed via the $_POST global variable.
     
    You'd do best to look at some basic tutorials for forms - html and php and css. Learn about separating markup from styling. Not only will you get a lot more help because your code will be much more readable, but because it is the right thing to do on so many levels.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.