Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Uploading a PDF via PHP


Not applicable
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?
0 Replies