header() and require()
| From: | Jason Jacobs | Date: | Mon, 26 Feb 2001 16:28:37 +0000 |
| Subject: | header() and require() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41696@lists.php.net to get a copy of this message | ||
Hi. In some of my files, I have a require statement to get some global
stuff accessable. I also have some header() redirects. They don't work
(they worked before I added the requires). I moved the require under one of
the header()s and that one works now, but I can't move it under the other
one because stuff has to happen before the redirect and it needs the
required stuff. So my question is do require statements produce output that
I can't see (which would make the redirects not work)? The files I'm
requiring don't have any output, which is why I'm confused. Thanks.
Jason