Apache timeout

From: Date: Thu, 27 Jul 2000 07:34:54 +0000
Subject: Apache timeout
Groups: php.general 
Request: Send a blank email to php-general+get-8489@lists.php.net to get a copy of this message
Hi, When simulating a GET or POST request to execute a PHP script, the script stops executing when the Apache timeout value is reached. Is there a way to circumvent this. Alternatively, what possible repercussions can a higher Apache timeout value have ? Sample code : $host = "123.4.5.67"; $path = "/redir_in.php"; $mydata = "from=$field1&to=$field2"; $sp = fsockopen($host,80); fputs($sp,"POST $path HTTP/1.1"); fputs($sp,"Host: $host"); fputs($sp,"Content-type: application/x-www-form-urlencoded"); fputs($sp,"Content-length: ".strlen($mydata).""); fputs($sp,"Connection: close"); fputs($sp,$mydata); fclose($sp); TIA Gunjan

« previous php.general (#8489) next »