[UPHPU] php user authentication

justin justin at justinhileman.info
Thu Apr 24 01:04:57 MDT 2008


On Wed, Apr 23, 2008 at 10:53 PM, michael geary <listmail at gearyweb.com> wrote:
> a header() redirect must be called before anything is *output* to the
> browser. If you have output_buffering turned on, this is relaxed for the
> most part, but there are good reasons to avoid that sloppiness and separate
> your app and display logics

michael's absolutely right. every once in a while i run into trouble
with redirects not working, and usually  it's because something leaked
into output before i sent the header... usually it's an extra space
after the closing php tag of an included file or something. so watch
out for those too :)

justin
-- 
http://justinhileman.com


More information about the UPHPU mailing list