Hi

We encountere some problems with our Squid-Proxy.
When we user direct internet connection the sky was the limit, 
but with our Proxy, the limit was 2MB...

Sebastian

> -----Ursprüngliche Nachricht-----
> Von: The Big Roach [mailto:[EMAIL PROTECTED]] 
> Gesendet: Dienstag, 13. November 2001 17:31
> An: [EMAIL PROTECTED]
> Betreff: [PHP] I Need To Upload Massive Huge Files : 20Mb
> 
> 
> Fans!
> 
> I need your help, but first you must worship me.
> Does PHP have a flakey file upload limit? Or what could be wrong?
> 
> max_upload_size and all that is set to 32Mb.
> post_max_size is also set to 32Mb.
> max_exec_time is set to 0 (unlimited).
> apache's timeout is set to 1800 (30 mins).
> 
> And my 6Mb or less files upload.
> But not my 7+Mb files.
> This is frustrating.
> 
> But I think Rasmus can answer this for me.
> Rasmus, over to you...
> 
> Here's my code just to prove I'm not a proud ^%#@!
> 
>       $conn_id = ftp_connect("$ftp_server");
>       $login_result = ftp_login($conn_id, "$ftp_user_name",
> "$ftp_user_pass");
>       if ((!$conn_id) || (!$login_result)){
>       echo "Ftp connection failed!";
>       die;
>       }
>       else {
>       echo "Connected to $ftp_server!<br>";
>       }
> 
>       @ftp_chdir($conn_id, $my_dir);
> 
>       @ftp_pasv ($conn_id, TRUE);
> 
>       /*Using ftp_fput*/
>       $local_file = fopen($source_file, "r");
>       $upload = @ftp_fput($conn_id, $destination_file, $local_file,
> FTP_BINARY);
>       /*Using ftp_put*/
> /*      $upload = @ftp_put($conn_id, $destination_file, $source_file,
> FTP_BINARY);*/
> 
>       if (!$upload) {
>       echo "Ftp upload failed!<br><br>";
>       $headers = getallheaders();
>       while (list ($header, $value) = each ($headers)) {
>           echo "$header: $value<br>\n";
>       }
>       }
>       else {
>       echo "Ftp upload successfull!<br><br>Uploaded 
> $destination_file to
> $ftp_server/$my_dir<br><br>";
>       $headers = getallheaders();
>       while (list ($header, $value) = each ($headers)) {
>           echo "$header: $value<br>\n";
>       }
>       }
> 
>       @ftp_quit($conn_id);
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] To contact the list 
> administrators, e-mail: [EMAIL PROTECTED]
> 
> 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to