> For months now I've not been able to attach files to messages, I was
> getting the error "Could not move/copy file. File not attached".
For some reason, my PHP setup doesn't return anything for memory_limit
when I call ini_get so this patch was difficult to test. Find attached a
small patch tha
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
For months now I've not been able to attach files to messages, I was
getting the error "Could not move/copy file. File not attached". fter a
bit of poking about I found the following code is causing the problem:
$configvars = array('post_max_size', 'memory_limit', 'upload_max_filesize');
foreach($