On Monday 02 April 2001 10:44, you wrote:
> Hi guys,
>
> I seem to be having a problem uploading images.
>
> My server is running on FreeBSD and i am using PHP ver 4
>
> I have checked all the settings in my php.ini file.
>
> max_execution_time = 30
> memory_limit = 8M
> post_max_size = 8M
>
> file_uploads = On
> upload_max_filesize = 2M

> Warning: Max file size of 2 bytes exceeded - file [image1] not saved in
> Unknown on line 0

PHP doesn't process the "M". Specify the sizes in bytes

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Pretty cool, the kind of power information technology puts in our hands
these days.

- Securityfocus on probing 36000000 hosts for known problems in 3 weeks

--
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