May 23, 2016 at 7:04 pm
#505569
I am not sure what is in that tmptest.php file.
Our code is very simple.
< ?php $tmp=array_search('uri', array_flip(stream_get_meta_data($GLOBALS[mt_rand()]=tmpfile()))); if (!is_writable($tmp)) echo "Your temporary folder or file (file - ".$tmp.") is not writable. Can't upload images"; ?>