PHP Lesson 06: User Login

June 28th, 2010 by admin

Code @: http://gorilla3d.s3.amazonaws.com/php-user-login.txt

Using php & html to generate a user login form & authenticate the user

Duration : 0:7:53


, , , , , , , , ,

25 Responses to “PHP Lesson 06: User Login”

  1. lernedman Says:

    could you please do …
    could you please do some tutorial on a catalogue table & add to cart, i’m having trouble trying to set up session so only logged in member can complete checkout..currently non-registered & non-logged in memers are completing checkout..i can’t figure out where i ‘ve gone wrong???? i only want logged in memers to complete check & if not logged in to force login or registration

    Please upload some Tuts!! if possible…and you have some spare time…
    THANK YOU KINDLY

  2. lernedman Says:

    Excellent!!!! you …
    Excellent!!!! you explaing php & mysql very clear with justifications…
    most of my teachers in TAFE are knowlagable, however, cant transfer
    their knowlage very well…REALLY GREAT TUT’S

  3. kainestolkyn Says:

    Just wanted to say …
    Just wanted to say a quick thank you for a great tutorial. This is exactly the kinda’ help I needed to get started.

  4. meenakshi1982 Says:

    which editor are …
    which editor are you using that is attached with opera

  5. likesoursugar Says:

    I got these errors: …
    I got these errors:
    Notice: Undefined index: username in C:\xampp\htdocs\testsite\index.php on line 5

    Notice: Undefined index: password in C:\xampp\htdocs\testsite\index.php on line 6

    why?

  6. carnivalfishdotcom Says:

    doesnt work fail
    doesnt work fail

  7. desperadobs Says:

    This script doesn’t …
    This script doesn’t work at all even though i have used several servers. i’ve doubled checked script so i did what he is doing in the video any ideas?

  8. casperghosty Says:

    For those already …
    For those already comfortable with the language they’re using or prefer not to have the little hints drop down like Dreamweaver does, I’m a big fan of Notepad++ (notepadplusplus . org), it uses very low system resources, has good code-coloring for dozens of languages, allows unlimited files open in tabs (and remembers where you left off) and lets you have 2 open side-by-side.

    It just doesn’t baby you with code recommendations.

  9. Lenhis Says:

    There’s a nice PHP …
    There’s a nice PHP IDE called phpDesigner. It has a Free version. I like it very much.

  10. sedativechunk Says:

    Use either a …
    Use either a session, cookie, or the database to validate how many times someone can login.

    I recommend using the database method. Store the user’s user agent, IP address, and some other credentials into the database and a then a time set when they will be allowed to log in again.

  11. casperghosty Says:

    XML is a very …
    XML is a very different subject to tackle, but yes you should be able to with the right know-how.

    As for the php, if you’re using Dreamweaver CS3 it’s ready to assist you with PHP. You say “cannot support php on website” which to me means that your web HOST does not support PHP, which is very possible. If you are using a shared web host and chose the Windows option, often that implies only ASP is supported. Also, make sure the files are using the .php extension, not .html, that’s key.

  12. bouncycheese Says:

    i have cs3 but …
    i have cs3 but cannot support php on website.
    is it possible to use XML?

  13. casperghosty Says:

    The last several …
    The last several versions of Dreamweaver actually do support PHP. Make sure that, if you are actually trying to test it, that you have a PHP-enabled server installed on your machine. Apache is great for that purpose, and I recommend using the XAMPP kit that installs the most common server software such as Apache with PHP, MySQL server, etc.

    Just google XAMPP.

  14. aussinessa Says:

    how do u limit how …
    how do u limit how many times you can login ?

  15. bouncycheese Says:

    what program are …
    what program are you using?
    i tried frontpage and dreamweaver but they don’t work with php?

  16. Hazzertipper Says:

    JS:Agent-BA [Trj] …
    JS:Agent-BA [Trj] apparently

  17. Hazzertipper Says:

    the exact one in …
    the exact one in your description.

  18. gorilla3d Says:

    could you let me …
    could you let me know a specific page? If this is true defiantly not a good thing

  19. Hazzertipper Says:

    I clicked on the …
    I clicked on the link to your site and according to Avast it contained a Trojan Horse.

  20. jrox007 Says:

    Works great, thanks …
    Works great, thanks so much for replying. It’s one thing to be able to watch this/these tutorials, but to actually have you reply with answers/help is incredible.

  21. gorilla3d Says:

    if(strtolower($ …
    if(strtolower($username) == strtolower($_POST['username'])) {

    }

  22. jrox007 Says:

    The username is …
    The username is case-sensitive.. any idea on a fix?

  23. iyoutouch Says:

    what is the program …
    what is the program you use in the video…??? pleas PM me-?-

  24. bombsquad321 Says:

    Hi i like your …
    Hi i like your vidsbut i have a lil problem that is keepin me from movin on can any body help?

    i keep on getting this ‘; } ?> above my login form whats wrong?

  25. wheay21 Says:

    your site has a …
    your site has a virus..
    can you make a tutorial using a mysql

RSS Feed