ID: 10723
Updated by: derick
Old-Status: Open
Status: Feedback
Bug Type: Program Execution
Operating system: 
PHP Version: 4.0.5
Assigned To: 

Can you add a call to phpinfo() at the end of the action.php and mail.php scripts?

Previous Comments:

[2001-05-08 00:09:33] [EMAIL PROTECTED]
It's a problem with a big (2MB or greater) file upload. After the file is up, the 
message "Fatal error: Maximum execution time of 2 seconds exceeded" appears, but the 
parameter max_execution_time in php.ini hasn't this value, nor the error is influenced 
by any value for set_time_limit in the php.ini.

The Skripts are:

$maxupload = "10485760";
echo '<form action="mail.php" method="POST" ENCTYPE="multipart/form-data"  
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="$maxupload">
<input type="file" size="35" name="attach" value="">
<input type="submit" name="BLIND" value="  Ok  ">';

<? $fp = fopen($attach,'r'); while (!feof ($fp))
 { $attachment .= fgetc($fp); }?>

It can be testet at:


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to