Forking in PHP
| From: | charlesk | Date: | Wed, 02 Jan 2002 21:14:59 +0000 |
| Subject: | Forking in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79257@lists.php.net to get a copy of this message | ||
This works almost. Instead of having echo "hello"; you have a huge process that takes a
while, the browser wont redirect until the script is finished. This seems to be a
"feature" of IIS. Has anyone found a way to do something similar in PHP 4.1.0, IIS 5.0,
Windows 2000 Server?
I basically want a way for the user to see a different page than have them waiting for the script to
finish.
<?
if ($process)
{
echo "cool";
} else
{
header("Location: test2.php4?process=true");
error_log("this means it works\r\n",3,"c:\errors\errors.txt");
echo "hello";
}
?>
Charles Killmer
NetgainTechnology.com