Php For Dummies - Php Tutorial 15: Cookies
Uploader Comments (flash4real)
All Comments (19)
-
is that ur dog barking?
-
THX, that was the problem, i have saved it again, and it works.... thanks a lot
-
It only wrotes for me on index.php:
"; echo "CLICK here to clear the cookie "; } else { echo "Welcome, new user! CLICK here to set the cookie "; } ?>
I was unable to find the error... but i didnt saw the end of the last line you wrote..
-
Just finished watching all your tutorials on PHP for Dummies straight through. Marvelous job bro. You talk me more in an hour than I would have learn after days on W3 Schools.
As for ideas of what do next, may I suggest a tutorial series on how to use PHP to create a content management system? I'm sure it would have to include MySQL as well.
Anywho, thanks for taking the time to share your knowledge with us. I appreciate it to the fullest. Definitely looking forward to more from you.
I'm again seeming to have a problem with my coding or something because after I enter my name to set the cookie, it directs me to setcookie2.php but the browser states webpage cannot be found. I can't seem to figure out where i am going wrong. I even went through your tutorial and my code again to make sure there were no errors. If it helps I can send you the code for all 4 pages. Thanks for the help in advance and keep up the good work.
gabriellippincott10 1 month ago
@gabriellippincott10 Send the code of all 4 pages to my email please.
flash4real 1 month ago
In the tutorial a few lessons back you introduced us to a simple login system. How about showing us one that includes proper security and MySQL?
MrStarstreak 1 year ago
@MrStarstreak
Yes, I am going to be introducing MySQL soon, however, I am quite busy with work.
You can expect an introduction to MySQL by the end of next month (Good way to celebrate new year, huh?) and further advances into "proper" security.
flash4real 1 year ago
i cant copy the code here :(
Do you know what should be the problem?
And thx a lot for the lessons!
peromajstore 1 year ago
@peromajstore
This means that the code is being parsed as text, and not PHP.
To fix this, check that you're saving your code as a .php file, or if you're using Notepad, make sure the box below the file name says "Save-as type: all files" and not "Save-as type: text document".
flash4real 1 year ago