Re: How to load another php page?

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

 



Arnold wrote:
This (header() function) works only if this is the first output sent to
browser so later in the script this doesnt work anymore, i've tried that.
After that you get error messages like: "Warning: Cannot modify header
information - headers already sent by (output started at
D:\Inetpub\wwwroot\xxxxxxx.php:5) in D:\Inetpub\wwwroot\xxxxxx.php on line
31"
So what i want is to go to another php file everywhere in the php script
with something like: if(thisistrue) { load yyyyy.php; exit; }


Once again, why cannot you use inlude()?

If include() does not work for you, you have to rethink the logic of your script.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux