They actually vary as to where they become truncated - some are at 633
bytes, some are at 1kb. The odd thing is that the PHP script I'm using to
process the form actually pics up the correct filesize, it reports it to me
under a $filesize variable I've setup. It'll report, say file2_filesize...:
69147 but the actual attachment is 1kb.

Like I said, I have this same problem using both Perl scripts and PHP
scripts. In php.ini my post_max size is 8M and upload_max_filesize is 2M.
Looking through the Apache mailing list archives, it looks like others
running Apache on win32 have experienced the same problems, but there are no
answers. I'm a little stumped myself!

I've found that even PHP upload scripts I've gotten from hotscripts.com
don't execute correctly either. A bit discouraging, as this problem is
seriously affecting a website I was hoping to have completed this weekend.

Thanks for your help,
Jason

-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 20, 2002 3:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Attachments

> I'm using 'POST' in my forms - any other ideas or places I could check?
> Thanks again.

There are a couple of settings in php.ini you could look at:

post_max_size
upload_max_filesize


Have you tried varying size attachments to see at what point the attachments
become truncated?

--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Refreshed by a brief blackout, I got to my feet and went next door.
-- Martin Amis, _Money_
*/


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

Reply via email to