You are here: Re: One script passing control to the other? « PHP Programming Language « IT news, forums, messages
Re: One script passing control to the other?

Posted by ZeldorBlat on 01/05/07 21:07

Pawel Halastra FrT wrote:
> Elo,
> I'm having a terrible trouble with a simple, as I think, issue. I need
> to stop my script in the middle of proccesing, and, simultanously, start
> a new script. The idea is not to sent any output to web browser before
> the second script is done. Typical scenario should goes like this:
> - script a.php ends its execution with some error, instead of sending
> its output to the browser, a.php passes control to b.php
> - output is being cleared, script b.php renders it from scratch, then
> sends back to the browser
>
> Is it possible (like in ASP.NET lets say - Server.Redirect())?
>
> Many thanks for help!
>
> --
> Pawel Halastra 'FrT'

header('Location: b.php');

 

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

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