Re: Re: How to run one php app from another? RECAP

From: Date: Sun, 13 Aug 2006 23:09:51 +0000
Subject: Re: Re: How to run one php app from another? RECAP
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-240606@lists.php.net to get a copy of this message
On 6/16/06, tedd <tedd@sperling.com> wrote:
At 2:35 PM +0200 6/16/06, Barry wrote: But once output is made. You can't remove it. That isn't possible with PHP. I think I get it now. PHP does everything before the user see's anything. Any links (direct or via a form) are objects that the browser can act upon per the user through html or js, but not php. Interesting.
Perfectly doable in PHP. Just have the form action go to a new php script and do your logic, then use header("location:...") to redirect. Gerry

« previous php.general (#240606) next »