Check your PHP.ini and make sure that your fileupload size matches the
maximum upload size you want.

See this section in you php.ini:

<snip>

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if
not
; specified).
upload_tmp_dir = "e:\uploadtemp"

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

</snip>

*The last line there is where you specify your max file upload size. I
believe default is usually 2 MB.

-Nicole
www.aeontrek.com

"Julian C Stevens" <[EMAIL PROTECTED]> wrote in message
news:"DSLEXXCH3-020305122516Z-36776*/PRMD=BAEDSL/ADMD=GOLD 400/C=GB/"@MHS...
> I am running PHP 4.1.1 with Apache 1.3.20 on Windows NT, and have recently
> started observing a bizarre file corruption effect.
> I first noticed this when transferring an RTF file with an embedded image.
On
> arriving at the web server, the image disappeared and, after examining the
> file I found 4 very small differences - the file size was not altered at
all.
>
> Now I have found that zip files are becoming corrupted in transit. A
perfectly
> good zip file appears on the webserver with various CRC errors!
>
> I'm using a simple http form to upload the files, and the problem only
seems
> to occurr if the files are fairly large (typically 2Mb or more).
> However, I need to be able to transfer much larger files than these
(intranet
> only).
>
> Please can anyone suggest where this apparent corruption could be coming
from.
>
> Thanks,
>
> Julian Stevens
> --
>
>
>
>
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to