Unexplained Timeout
| From: | Jeff Oien | Date: | Tue, 17 Jul 2001 00:27:55 +0000 |
| Subject: | Unexplained Timeout | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58149@lists.php.net to get a copy of this message | ||
I get a 30 timeout on the line indicated when executing this code
and can't figure it out. Does anyone know why? Thanks.
Jeff Oien
---------------------
if ($missing == "1") {
echo "
<html>
<head>
<title>Error</title>
</head>
<body bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#0000ff\"
vlink=\"#660099\">
<h3>Error</h3>
Required information was missing:
<ul>";
$z = "1";
while ($z <= "$Number_Children") {
>>error> if (${"element2$z"} == "select") {
echo "<li>Please make a selection for Child $z</li>";
}
if ((${"year$z"}).(${"month$z"}).(${"day$z"}) >= 20000401
&&
(${"year$z"}).(${"month$z"}).(${"day$z"}) >= 19980902) {
if (${"coopmonth$z"} == "select") {
echo "<li>Please select coop month to serve for Child $z</li>";
}
$z++;
}
}
echo "
</ul>
Please use your <a href=\"javascript:history.go(-1);\">Back button</a> and
try again
(please do <b>not</b> Reload or Refresh your browser)
</body>
</html>
";
exit;
}