You are here: Re: Redirecting on the server side? « PHP Programming Language « IT news, forums, messages
Re: Redirecting on the server side?

Posted by Tyrone Slothrop on 10/09/06 14:27

On 9 Oct 2006 06:23:57 -0700, "laredotornado@zipmail.com"
<laredotornado@zipmail.com> wrote:

>Hello,
>
>I'm using PHP 4.4.4. After processing some data, I'd like to redirect
>to another page for further data processing. The way I'm redirecting
>right now is
>
>header("Location: next_page.php");
>
>However, as you know this causes information to be sent to the client
>before the next page is contacted. Is there a way I can go to
>"next_page.php" without contacting the client?
>
>Thanks, - Dave

You can use include() to display the contents of the page. Depending
on what you are doing on the page that is processing the data, a
flush() and ob_flush() may be required before the include call.

 

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

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