This is a discussion on "[SOLVED] cookies... please help!!!!" within the PHP Forum section. This forum, and the thread "[SOLVED] cookies... please help!!!! are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] cookies... please help!!!!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] cookies... please help!!!!
hi there... i'm just starting to learn php, and to tell you honestly i'm really having a hard time learning it, but that's just fine. That's the challenge of programming. And even it's hard, i'm really enjoying it. ok..! now I just wanna ask something about cookies. Here is the sample cookie.
|
|
|
|
#2
|
|||
|
|||
|
Re: cookies... please help!!!!
Could you post your full code here!
I think this usually happen when you have a blank line before the <?php or maybe you include header.php before you process the page!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#3
|
|||
|
|||
|
Re: cookies... please help!!!!
hello monie... thank you for your reply. but i think i figured out what went wrong, and it's in the php.ini file because the output_buffering is previously set to "OFF". now that i put a specific value for that, i'm not getting the same warning anymore. Thank you again for you're reply and intention too help me. more power and have a nice day.
|
|
#4
|
|||
|
|||
|
Re: cookies... please help!!!!
Ahh.. Thanks for sharing the solution
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#5
|
||||
|
||||
|
Re: [SOLVED] cookies... please help!!!!
Solved!
A cookie is sent as a header so it must be sent before the first <html> or before any output. This also goes for sessions, headers and more.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cookies in PHP | marquey | PHP Forum | 4 | May 31st, 2007 17:17 |
| how to store cookies | selphie08 | Flash & Multimedia Forum | 3 | Sep 20th, 2006 01:54 |
| ASP Cookies | señorbadger | Classic ASP | 6 | Nov 22nd, 2003 14:04 |
| Flash Cookies! | Webforumz Staff | Flash & Multimedia Forum | 0 | Sep 3rd, 2003 12:09 |