Highlighted

Uploading a PDF via PHP

Avatar

Guest

02-10-2008

I am getting time out errors using this PHP code and a HTTP Submit button. I have increased the time out in the PHP code to 120 seconds but it does not appear to make any difference. The PDF file size is 1.7 Meg.
<br />
<br /><?<br /?>
ini_set('max_execution_time', 120);
<br /> print_r("PDFupload.php\n");
<br /> $file = file_get_contents("php://input");
<br /> print_r($file);
<br />?&gt;
<br />
<br />What am I missing?