FireFox! The PHP Forum Loans and Credit
Panama Web Design for Hire Free Insurance Quotes!
Web Hosting Advertise Here $10 a Month Designer Children
Never Pay Taxes Again HGH Domain name registration
Web Hosting and Dedicated Servers Insurance Affordable web-hosting


HomeWatched TopicsRegisterSearchDirectory
FAQMemberlistUsergroupsLog inStoresItemsBank
Google

Reply to topic Page 1 of 1
Cookies! Help Me!!
Message  

Reply with quote
Post Cookies! Help Me!! 
Hi my friends,

I have faced a problem when using cookies.
I want to set some values in cookies but when I set them by setcookie function, no error displayed, but when I want to print them to check whether they are set or not, except My 2 first values that has been saved the others were not shown  Sad and php gives me warning that the header was sent before and tell me that that cookie is undefined...., I dont know what I should do now!!  Confused
Please help me, My project is IDLE by now because I know nothing to do!  Question

Sincerely Yours
  Saman J.


_________________
Sincerely Yours
View user's profile Send private message Yahoo Messenger

Reply with quote
Post  
Header was sent before? That sounds similar to HTML being echoed before header modification. Be sure you aren't echoing anything before you're setting the cookie. For debugging purposes you can also do print_r($_COOKIE); to display the key/values.

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  



Google

FireFox! The PHP Forum Loans and Credit
Panama Web Design for Hire Free Insurance Quotes!
Web Hosting Advertise Here $10 a Month Designer Children
Never Pay Taxes Again HGH Domain name registration
Web Hosting and Dedicated Servers Insurance Affordable web-hosting


Web Design by PlatinumShore.com & Web Hosting by TradeWebHosting.com