Didn't really follow this thread, but it sounds to me like you have upload_max_filesize = 2M which also happens to be the default uploaded filesize limit. -Rasmus Catalin Trifu wrote: > Hi, > > It can't be a memory limit problem. The server ha 2GB memory, > and in PHP each script can consume up to 64MB. On php4, apache 1.3 and > same configs readfile works without fread tricks. > > C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php