Added: 1 year ago
From: pbj746
Views: 10,035
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (40)

Sign In or Sign Up now to post a comment!
  • sorry but your tut sucks, you are just writing code wtf! you need to explain what means that code

  • please, explain a bit more:)

  • thank you sooooooooooooooooooooooo much !!!!

  • Just something to think about and a good idea if you plan on using md5 encryption in your cms it's better to set the varchar limit to 32 since ALL md5 hashes are exactly 32 characters long. There is no point in allowing for more characters if you already know every every password in your database will be stored as 32 characters.

  • Why do I get this error?

    "Notice: A session had already been started - ignoring session_start()"

  • It will be nice if you slow down a little.

  • is this safe cms code?

  • Got a problem i cant figure out

    i follwed your tut to the letter 3 times now and i still get stuk with the login page

    im getting the result back

    "Please check your login details!"

    So far i cant figure out what the problem is

    wanna help me out here

  • @026deathkiller Nevermind Found the evil typo

  • @026deathkiller where is the evil typo? I can't seem to find it.

  • @026deathkiller el problema es causado por copiar la carpeta includes. debes copiar el contenido de la carpeta.No la la carpeta en si.

  • @026deathkiller I get the same problem, I'm trying to pinpoint the error. Should be withing the dologin.php something about the POST variables from login.php.

  • ffs the blue lights are lighting up on { and } what do i do :S

  • This code was written over a year ago, and I can only presume that the updated version of phpmysql is what is making it hard to follow. I have so far managed to work my way through a lot of it. By making alterations to the code but its not easy. A nice hint on here by PSTube1000 RE: removeing } echo { header('Location: index.php');, this has stopped me being redirected to the login page after I login, I now get a blank page, lol. But I am at least being directed to the index.php page. Ty pdj746

  • Well, mine comes up with loads of errors, so this was a waste of time.

  • Your tutorial sucks man, before you start a tutorial please think by yourself what i'm going to do, how i'm gonna do that ect. ect.

  • When I run this I get Warning:session_start() Can not send session cache limiter- headers already sent. I also get the message Logged In Welcome! so I quess that it logged in but what is causing this message?

  • @MrTelekes you can fix this by putting the Session start code line on the top off your page

    hope that works for you

  • @MrTelekes you have to put the <?php

    session_start();...

    as the first lines of your code

  • @MrTelekes

    Check session starts on the other admin files, such as index login and dologin.

  • Comment removed

  • Love these tutorials btw!! Really help :)

  • For whatever reason, my dologin.php is not working.

  • Hey PBJ,

    Excellent Tutorials!! Is there a way to create tracking code within the database? I see where MySQL has some settings that produce something like this:

    a href://yoursite.com/apage.php?­lang=en-utf-8&token=8614aff521­2c32c6ce4646496c93d

    And then there would be some ID number at the end of this string(? not sure if I'm labeling this correctly) so it would look like this:<a ww.yoursite.com/apage.php?lang­=en-utf-8&token=8614acfcff5212­c32c6ce4646496c93d&CID=1253

  • Comment removed

  • Good tutorials and in your next one, instead of just writing the code, could you explain "what" the functions are doing instead of just writing the code and "why" you are using certain functions.

    e.g Why and what are the benefits of using

    mysql_fetch_array

    instead of,

    mysql_fetch_assoc

    (you can explain what each does as you are talking)

    I know there's php[.]net for reference but i think it makes more sense when we see it in action on a tutorial :)

  • Tip: when inserting the username, instead of making a new variable, you can insert it as "$_POST[username]" without the apostrophes around 'username' :)

  • hey dude,

    when is the next one gunna come out?

  • Nice! Great tutorial as always Melvin.

  • thanks alot about the tutorials, and I'm looking foreward to the next video...

  • Comment removed

  • Hey dude,

    i have a minor issue other than that it all went fine,

    when i log in it says

    Logged In! Welcome Array

  • @thetechall check your code or put <?php echo "$user"; ?>

  • @kaeleon1111 echo out "$user";

  • @kaeleon1111 comes up basicly saying the variable $user doesnt exist so yeah, is there any other way? i dont need to echo out their name TBH

  • @thetechall I have send u PM ;)

  • Dude thanks for these tutorials, just at the right time as im creating a website for a clan im in and i dont want to have to update everything manualy.

  • u are the best!:D 

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more