You are here: Re: header location and redirect « PHP Programming Language « IT news, forums, messages
Re: header location and redirect

Posted by Tim Van Wassenhove on 08/26/05 02:28

On 2005-08-25, Bob Bedford <bedford1@notforspammershotmail.com> wrote:
> From my record insertion page I do, in some cases, this:
>
> header("Location: http://$SERVER_NAME/mainpage.php?SID");
>
> problem is that the mainpage.php doesn't takes new datas. I've to refresh
> the page to see the new inserted record.

What is going on in mainpage.php? Are you sure the record insertion page
really does what you expect? Checked for errors??

If you start your scripts with the code below, you usually get some
hints ;)

ini_set('error_reporting', E_ALL);
ini_set('display_errors', TRUE);

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>

 

Navigation:

[Reply to this 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

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