RE: [PHP] Unexplained Timeout

From: Date: Tue, 17 Jul 2001 02:04:51 +0000
Subject: RE: [PHP] Unexplained Timeout
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58160@lists.php.net to get a copy of this message
I found out what was most likely the problem. I had missing bracket and then an extra one. I marked them as such below. In any case I learned a whole bunch more stuff in the process. Thank you very much for your help. And sorry Jason didn't mean to make it look like I snubbed you or anything. :) Jeff Oien > 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") { > 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>"; } missing> > $z++; > } extra> } > 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; > } > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#58160) next »