Hello Geoff, On Thursday, November 11, 2004, Geoff Soper wrote... > My setup has a 'memory_limit' setting of -1 which I believe is > legitimate and represents inifnity i.e. no memory limit. In the > above code this results in a MAX_FILE_SIZE of -1 which prevents any > files being uploaded. Is this a bug? It seems like it to me.
Yep, it would be. The PHP docs show that for the memory_limit option set to -1, you don't have to worry about a limit. http://us2.php.net/manual/en/ini.sect.resource-limits.php#ini.memory-limit I shall take a look at the code. -- Jonathan Angliss ([EMAIL PROTECTED]) Posting Hints: http://www.squirrelmail.org/wiki/en_US/MailingListPostingGuidelines ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users