thecode101
asked on
Setcookie after Headers sent
I would like to know is it possible to use setcookie after headers have been set to the page. If so, please show me how. I read something about output buffering, but I don't quite understand it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Wow, didn't realize it was just that simple. Thanks =)
no problem, i was certainly more simple then your last php question :p
|)iablo
|)iablo
Sometimes behind huge problems, simple things are hidden!
ob_start: http://www.php.net/manual/en/function.ob-start.php
ob_end_flush: http://www.php.net/manual/en/function.ob-end-flush.php
and also the output control functions page:
http://www.php.net/manual/en/ref.outcontrol.php