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