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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]