Bad Fetch Error when submitting a recorded file...
Posted: Tue Sep 09, 2003 12:23 am
I receive an "a serious error of type: error bad fetch occurred. exiting" after a submit to my server. I do receive the file OK on my server.
I am wondering, is there some particular return content required?
I am submitting with the following tag:
<submit next="http://<host>/upload.php" method="post" name
list="final_recording"/>
The upload.php contains just the following:
<?
foreach ($_FILES as $file ) {
move_uploaded_file($file['tmp_name'], "/tmp/$file[name].raw");
}
?>
The return headers are:
HTTP/1.1 200 OK
Date: Tue, 09 Sep 2003 05:21:38 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
X-Powered-By: PHP/4.1.2
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
Are the additional headers here any issue? Is there any particular content which is required or expected?
I am wondering, is there some particular return content required?
I am submitting with the following tag:
<submit next="http://<host>/upload.php" method="post" name
list="final_recording"/>
The upload.php contains just the following:
<?
foreach ($_FILES as $file ) {
move_uploaded_file($file['tmp_name'], "/tmp/$file[name].raw");
}
?>
The return headers are:
HTTP/1.1 200 OK
Date: Tue, 09 Sep 2003 05:21:38 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
X-Powered-By: PHP/4.1.2
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
Are the additional headers here any issue? Is there any particular content which is required or expected?