|
Posted by Rik on 10/19/05 00:09
Raj wrote:
> I have a website that redirects users to the "intro_page" via the
> start page if they enter the website anywhere except the start page.
> ....
> Here's the script. It doesn't go to intro_page.php. It just sits on
> start.php.
> ....
> include("./general_scripts_etc/header1.php");
What's in this include?
www.php.net: "Remember that header() must be called before any actual output
is sent, either by normal HTML tags, blank lines in a file, or from PHP. It
is a very common error to read code with include(), or require(), functions,
or another file access function, and have spaces or empty lines that are
output before header() is called. The same problem exists when using a
single PHP/HTML file"
Further: without the redirect, does the mysql_query work?
Try to just echo "0" or "1", does this work?
Grtz,
Rik
[Back to original message]
|