Another thing a noticed was that when I comment the line wich uploads the
file, it still give me the same error, saying server was not found.
I think, maybe, the amount of memory enabled for each object of the form is
limited by 1Mb. I got that idea because I use the following script:
print "path: $fupload<br>\n";
print "name: $fupload_name<br>\n";
print "size: $fupload_size bytes<br>\n";
print "type: $fupload_type<p>\n\n";
if ( $fupload_type == "image/gif" )
{
copy ( $fupload, "$file_dir/$fupload_name") or die ("Couldn't copy");
}
The fupload is the file object from the previous form page. Maybe if that
object cannot be more than 1mb so it shows that page.
Is it right or I am going crazy with it???
If so (i'm right :) ), where can I change it? I tried to set
LimitRequestFieldSize to 10240000000 but when i restarted Apache it said
Iniciando httpd: Syntax error on line 139 of /etc/httpd/conf/httpd.conf:
LimitRequestFieldsize "10240000000" must not exceed the precompiled maximum
of 8190
If this is the way i have to go... what can I do?
Thaks!!!
Maur�cio Valente
"Mike Ford" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> -----Original Message-----
> From: Maur�cio Valente [mailto:[EMAIL PROTECTED]
> Sent: 05 June 2003 21:56
>
> I couldn't find the option max_body_request somebody knows
> where it is?
There's no such option -- you could be looking for post_max_size in php.ini,
or the LimitRequestBody directive in Apache's httpd.conf or a .htaccess
file.
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php