redirection

From: Date: Mon, 24 Jul 2000 05:01:19 +0000
Subject: redirection
Groups: php.general 
Request: Send a blank email to php-general+get-7823@lists.php.net to get a copy of this message
Hi, I have a form that calls a .php script on submission. Since this script takes a fairly long time to execute, I'd like to redirect the user to another page while the script executes in the background. What would be the best way to achieve this? Using <?php header ("Location: <location>"); .....script code .... ?> is of no avail as the redirection does not take place till the script completes execution or the browser page expires,whichever is earlier. Gunjan

« previous php.general (#7823) next »