[PHP] Re: setcookie problem: Cannot add header information - headers already sent by

2002-03-13 Thread Frank Ramsay
Cookies have to be set before the HTML block begins. -fjr Bob wrote: here is the example: ?php // Beginning php // Saving the page header in the variable $head. $head = ENDH !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN html head titleFeedback form/title

[PHP] help: setcookie question

2002-03-12 Thread Frank Ramsay
pretty please? I have a situation where I have to have a cookie that is set by one apache server and read by another. They are on the same domain, but different ports. To write this I set up two webserver one on port 81 and one on 90, the port 81 server calles setcookie, but in the DOMAIN