Re: Execute script and redirect

From: Date: Thu, 20 Apr 2006 07:28:26 +0000
Subject: Re: Execute script and redirect
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-234332@lists.php.net to get a copy of this message
Peter Lauri wrote:
Best groupmember, I have a form that is being filled out. This is the process: 1. Fill out form and click submit 2. Script validates data 3. Data is being sent to external source via Web Service 4. A file is being downloaded (redirects to files location) The problem is that #3 is taking around 15 seconds to complete because the Web Service is very slow. I would like to run #3 in the background and directly jump to #4. Is this possible?
Yes. you might use the shell execution for that OR fopen() without url restriction and send the commands to the file. There are lots of ways to do that... -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#234332) next »