By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,048 Members | 415 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 463,048 IT Pros & Developers. It's quick & easy.

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

P: 20
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 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
Share this Question
Share on Google+
2 Replies

P: 1,059
Please look into php site(, not sure). You better google it with search id cookie. You would get better answer.
Jan 26 '10 #2

Expert 100+
P: 1,584
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 is how most of got started. Here's another link for you:

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!

Jan 26 '10 #3

Post your reply

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