Posted by paullefil on 12/17/59 11:56
Thank you very much !
It was a space after ?> in the file test2.php
Alvaro G. Vicario a écrit :
> *** paullefil escribió/wrote (25 Aug 2006 09:39:21 -0700):
> > @header( "Location: http://www.mydomain.com/test3.php" );
>
> The @ operator removes any possible warning or error message. You'll never
> be able to debug properly if you drop it here and there in your code.
> Furthermore, what runtime error are you expecting in a call to header()??
>
> Also, sending a header doesn't stop the script execution. I suggest you
> append an exit() statement.
>
> > The result is a blank page but normally you will be redirect to
> > http://www.mydomain.com/test3.php with "it's test3.php" written.
>
> Have you enabled error reporting directives in "php.ini". If I recall
> correctly, they are:
>
> display_errors = On
> error_reporting = E_ALL
>
>
> --
> -+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
> ++ Mi sitio sobre programación web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --
[Back to original message]
|