Okay, I'm having a major headache over this. I'm trying to insert MP3 files into a mySQL database, but I keep coming across an error of one kind or another. First it was a timeout, now it's filesize. I managed to use the ini_set command to successfully reset the max_execution_time var, but it's not working on the upload_max_filesize one.
Here's the code...
>$setmaxexectimeresult = ini_set(max_execution_time,600);
$uploadsizeresult = ini_set(upload_max_filesize,20240); //20 megabytes
and then later on...
>echo "[" . $setmaxexectimeresult . "] [" . $uploadsizeresult . "]";
...which returns...
><!--set result: [30] []-->
What's the deal? In the second pair of brackets, it should have a "2M" or something like that, to show that it was successfully reset. Aaand, it doesn't. I'm probably just missing something stupid -- any idea what?