SiteMinder / Webhosting
The Computer Merchant, Ltd
US-MA-North Quincy

Justtechjobs.com Post A Job | Post A Resume

Comments for: bokeh20090129

Message # 1511051:
Date: 08/06/09 07:00
By: Cheyanne Profile
Subject: Problem with code

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

Previous Message | Next Message


Comments:
Problem with codeCheyanne08/06/09 07:00
Uploading Images with PHPPeter Finch01/30/09 13:44
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.