Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] What's the deal with HTTP_ACCEPT? (Was: Wanna see my open source project?)



Dave, are you sure you haven't got PHP sending warnings to the browser?
Referencing non-existent array elements and passing null to a function
that expects a string would usually generate a warning.

When you send output to the browser (including PHP's warnings), PHP
has to give the browser some HTTP headers. HTTP headers can only be
given to the browser once - at the beginning of the response. If you
try to do things that involve setting HTTP headers later on, they'll
fail. This will cause mystifying problems with headers and cookies.

Hope that helps,

Edmund Edgar
lists@example.com
http://www.socialminds.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links