Hi Richard
Thank you for that. I have encoutered a problem and am trying to email the author of this code. Is there a facility to do so?
The problem is
Hi
I used the following code - How to Upload Images Using PHP by WebDeveloper forum member bokeh and all works well with small image files say under 500K.
However I need to upload files up to say 15Mb and have adjusted the the max size to just over 15 Mb on the upload.form.php file i.e. it now reads
$max_file_size = 17000000; // size in bytes (15 Mbs).
When a file has finished uploading it should show the pageor upload.success.php which it does for the smaller files. However if the file is say 10Mb the success page does not show, but rather an Internet Explorer page saying "page cannot be found"
If you then use the Browser "Back" button you return to the upload page and, if you check the server, will find that the file has uploaded correctly.
It is clearly important that the Client knows that the form has uploaded successfully but, as it is, will probably think the upload failed if he uploads a large file.
Has anyone any idea why the upload.success.php page does not appear if you are uploading large files? Is it a time delay problem as large files take a long time to upload?
Thanks
Cheyanne