Hi,

The most likely reason that one guy can't upload when everyone else can is because he is behind a proxy that limits the size of post data.


Kenn Murrah wrote:


Greetings.

I have an odd (to me) problem ... from most computers, the upload code (shown, in part, below) works just fine .... but from at least one computer, if the user uploads a small file (under 1meg), it works properly . but if he uploads a larger file he gets either a "page not found" (Internet Explorer) or "no data" (Netscape) error .... other users can upload files of any size, with no problem ....

Does anyone have any ideas?
The code (though I'm not at all sure it's relevent) is below:

$customer_trimmed = eregi_replace("[^[:alnum:]\.]","",$customer) ;
$customer_shortened = substr($customer_trimmed,0,18);
$customer_trimmed = $customer_shortened;
$folder_name = $customer_trimmed . date("mdyHis");

$old_umask = umask();
mkdir('/home/upco/uploads/' . $folder_name, 0777);
//umask($old_umask);

$dest_dir = '/home/upco/uploads/' . $folder_name;


--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

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



Reply via email to