469,588 Members | 2,741 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,588 developers. It's quick & easy.

how to apply cookie in php how to store data in cookie how to reset it in php page..

Hi everyone.....

I read out the topic of how to pass a variable into another page using session.And mr.moderator have explained it with beauty.I apply this and it is working for me..Can anyone give such a good explaianation for cookie also..How to store data in cookie,destoy cookie etc un ,php page .I read out it from w3schools.com but i dont know how to implement that.Like session(how to pass varible through page) plz also give link(if already created i have searched) or explain it so that newbies can get help from this...Thank you..
Jan 25 '10 #1
2 2190
johny10151981
1,059 1GB
Please look into php site(www.php.net, not sure). You better google it with search id cookie. You would get better answer.
Jan 26 '10 #2
dlite922
1,584 Expert 1GB
Follow these steps:

1. Find what you want to learn. (in your case sessions and cookies with PHP)

2. Research the subject and take some tutorials. Google is of great help here, and yes w3schools.org is how most of got started. Here's another link for you:

http://www.tizag.com/phpT/phpcookies.php

3. Attempt the code yourself free hand without copy and pasting.

4. If you have trouble refer to the manual. If it still doesn't make sense, ask a specific question here.

You can't come in here and say teach me PHP.

That being said, do you have a specific question that the manual can't answer?

If not, good luck and happy coding! You'll be coding PHP is no time!




Dan
Jan 26 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Christoph Pieper | last post: by
9 posts views Thread by Marco Krechting | last post: by
3 posts views Thread by Karsten Grombach | last post: by
2 posts views Thread by Keith Patrick | last post: by
3 posts views Thread by ExclusiveResorts | last post: by
3 posts views Thread by Dan | last post: by
3 posts views Thread by Mike | last post: by
3 posts views Thread by Milsnips | last post: by
5 posts views Thread by mosscliffe | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.