ini_set() question....
Posted: Sat Dec 18, 2004 10:11 am
I"m writing a file upload script. My script requires a larger max_file_size be set in the php ini. So I'm using ini_set to change the size allowable. But my script keeps dieing. It would seem that it is not executing. Here's what I'm using.
I keep geting php ini not set. Could this be because the script timed out?
Thanks
Code: Select all
<?php
if ( ini_set("upload_max_filesize ", $max_file_size ) )
{
//Do stuff to the file
}
else
{
die("php ini not set");
}
?>Thanks