Re: Location ....

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

 



On Wed, Dec 28, 2005 at 03:15:09PM +0100, Christian Ista wrote:
> Hello,
> 
> Could you tell me a efficient solution for change page (new location) in
> PHP? I tried this code : header("Location: mypage.php");
> 
> But in some case, I have error message "heade already send". Then I use a
> javascript solution : window.location.href="mypage.php";

If you look at the error message it tells you exactly what line the
headers were sent at.

I'm to tired to explain what do do once you find that hopefully
you'll see the problem.

Curt.
-- 
cat .signature: No such file or directory

-- 
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