On Wednesday 12 January 2005 05:55, Juergen Rehberger wrote: > I have checked my memory limit in the php.ini file and it is 8mb as well on > my offline server. Are you sure that your local server was compiled with --enable-memory-limit? The memory limit set in php.ini will only be enforced if you have --enable-memory-limit. > i further noticed that on my online server it doesnt > realy depend on the filesize in mb but rather the size in pixel. once i try > to upload images larger than 1280*960 it gives me an error message. on my > offline server this size is no problem. > > I wonder why it tries to allocate so much memory in teh first place since > the pics are not that big in size. the last one i tried was 300kb but had a > resolution of 2272 / 1704px. its really weird. That's because 2272 x 1704 x (3 bytes/pixel) = a lot of memory -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ New Year Resolution: Ignore top posted posts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php