cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

upload with curl and php

From: adrian Albu <whiteadi_at_yahoo.com>
Date: Fri, 5 Mar 2004 04:26:52 -0800 (PST)

Hi,

I have an domain where is Apache Web Server and Php.

I made a site that it is hosted by that server but not only mine it is there, of course.

I want to be able to upload big files, I mean like 35 Mega or something.

Maybe up to 60 M. With php I upload the files. I know that from script I cannot set the upload size with ini_set, I tried to put a .htaccess in the upload folder, with:

php_value upload_max_filesize "100M"

php_value post_max_size "100M"

php_value memory_limit "100M"

php_value max_execution_time "600"

upload_max_filesize="100M"

post_max_size="100M"

memory_limit="300M"

max_execution_time=600

LimitRequestBody 303200000

but didn't work. Then I talked with some guy there and he set the local values with httpd.conf for these values. I check them, I get theme like this:
 
print 'post_max_size = ' . ini_get('post_max_size') . "<br>";
print 'upload_max_filesize = ' . ini_get('upload_max_filesize') . "<br>";
print 'memory_limit = ' . ini_get('memory_limit') . "<br>";
print 'max_execution_time = ' . ini_get('max_execution_time') . "<br>";
 
and only memory_limit is not shown but I read that this doesn't mean is not set.
 
So can anybody know what is to be done?
 
And if nothing then maybe is there an alternative with php and cUrl. Or also this limits are blocking and upload with cUrl?
 
regards,
Adrian

---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster.
Received on 2004-03-05