|
-
Oct 26th, 2004, 09:43 AM
#1
Thread Starter
Member
PHP file upload
Hi.
I'm having a problem with file upload.
I've set the post_max_size=8M and upload_max_filesize=20M but can't upload files that are larger than 1Mb. =)
Isn't that funny?
I have no more ideas what to configure.
I'm using IIS 5.1 and PHP 4.3
Thanx in advance!
-
Oct 26th, 2004, 05:02 PM
#2
Have you checked that IIS is not imposing a limit on the file upload size?
-
Oct 26th, 2004, 06:08 PM
#3
Lively Member
This happened to me too, but I was on apache and it wouldn't upload more than 6 megs, even with an ini_set right before it.

-morrowasted
-
Oct 27th, 2004, 04:42 AM
#4
Thread Starter
Member
I know that IIS has no limits for this feature and the only limiter is PHP. That's why i don't understand.
-
Oct 27th, 2004, 05:39 AM
#5
Do you get any error messages, or does it just truncate the upload at 1mb? It would also be worth checking there is not some kind of timeout for uploads on the server.
-
Oct 27th, 2004, 07:09 AM
#6
Thread Starter
Member
Well it gives an alert box that "The document contains no data"
But i realised some interesting thing:
At first - server is behind a proxy!
When i use other computer (working with the server through a proxy), upload works!!!
But when i test uplod directly on the server (uploading to itself) it can't upload files larger than 1Mb.
From one hand my problem doesn't exist anymore as i can use upload from other computers and i don't need it when testing it locally, but from the other it's still mystique.
=)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|