Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
good php cookie tutorial
Old 12-30-2005, 09:12 PM good php cookie tutorial
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
ive been looking for a good, extensive php cookie tutorial, everything I have found stops at how to create a cookie. I need to know how to work with them to an advanced level however, do you know of any tutorials that would help me in that area?
__________________
I have the heart of a child, I keep it in a jar on my desk.
Village Idiot is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-02-2006, 10:42 AM
Skilled Talker

Posts: 70
Trades: 0
I think you can use the setcookie() function (see http://www.php.net/setcookie). Like most header functions it has to be set at the top of the page, before any HTML output.

I wouldn't suggest using cookies as some users will disable cookies within their browsers. My first pick would be to use sessions, but hey there's more than one way to skin a cat
cerebro89 is offline
Reply With Quote
View Public Profile
 
Old 01-02-2006, 12:09 PM
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
I have to for my project, it stores the users costom page.

as for the tutorial, it doesnt go into what I need, how to store and read data from a cookie. I am going to the library today, they have some books on php; that should be what I need
__________________
I have the heart of a child, I keep it in a jar on my desk.

Last edited by Village Idiot; 01-02-2006 at 12:13 PM..
Village Idiot is offline
Reply With Quote
View Public Profile
 
Old 01-03-2006, 06:39 AM
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
Just checkout the setcookie page.

Its the only method you need to hadle cookies (it sets and unsets them).

Ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Old 01-03-2006, 06:50 AM
Average Talker

Posts: 28
Trades: 0
You can find this tutorials
http://www.t4vn.net/tutorials/showtu...P-scripts.html
hopy It will help you.

T4VN.NET
__________________

Please login or register to view this content. Registration is FREE
==>PHP Tutorials,PHP Example,PHP Script,Online Project,PHP News,....and more,helper coding...

Please login or register to view this content. Registration is FREE
==>Dog Information

Last edited by t4vn.net; 01-18-2007 at 10:23 PM..
t4vn.net is offline
Reply With Quote
View Public Profile
 
Old 01-03-2006, 11:37 AM
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
thanks, that is what I needed
__________________
I have the heart of a child, I keep it in a jar on my desk.
Village Idiot is offline
Reply With Quote
View Public Profile
 
Old 01-03-2006, 02:48 PM
Village Idiot's Avatar
Webmaster Talker

Posts: 535
Trades: 0
ok, i found my php in easy steps, that is exactly what I needed. thanks for the help guys
__________________
I have the heart of a child, I keep it in a jar on my desk.
Village Idiot is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to good php cookie tutorial
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28413 seconds with 12 queries