Reply to Re: PHP page get executed twice

Your name:

Reply:


Posted by Erwin Moller on 06/02/06 14:13

Marcel wrote:

>
> I solved it by replacing
>
> header("Location:newsitems.php");
>
> with a javascript redirect
>
> <script>
> location='newsitems.php';
> </script>
>
> And that solved my problem so i think (i am not sure but....) there is a
> bug in PHP5.1.2 location header function implementation.....
>

No there isn't.
I bet you forgot to exit after the header. :P

header("Location:newsitems.php");
exit;


Regards,
Erwin Moller

> Marcel

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация