i have some annoying error:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
The PHP code:
.
.
for ($i = 0; $i < sizeof($rows); $i++) {
$Lenght = mt_rand(300, 400);
for ($x = 0; $x < $Lenght; $x++) {
$NColumn1 .= mt_rand(0, 9);
$NColumn2 .= mt_rand(0, 9);
}
$database->exec("UPDATE Child SET Column1 = '$NColumn1', Column2 = '$NColumn2' WHERE Parent_ID = '$Parent_ID';");
}
I have 300 records in a table Child where I UPDATE with new one and that works just fine but during this proces I get a downloaded php file with 200 OK and in background my table is updating. I am using Zend Server CE SP1 5.6.0 with PHP 5.4 and Apache2. I searched and fond somthing about HEADER handlings and in php.ini file to change allow_url_fopen = On to allow_url_fopen = Off , and search error log in Apache2. So I try all of that but nothing. So, is it possible to fix or disable that kind of error or do somthing to avoid it? Realy need a good help!