View Single Post
Old 10-27-2006, 02:03 PM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
add the set cookie before ANY header information is sent, ie the very first thing on the page, before <html>

Or, like you found, suppress headers being sent by putting everything in an output buffer.

This is all very basic stuff, like you know, and it's great you're taking your first steps to programming, but when things get a bit too much, don't be afraid to pay someone for help...
we don't cost a lot.

Good luck and continuation.
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote