...

View Full Version : isset's don't work on images?



iceflyin
08-18-2007, 03:56 AM
This doesn't seem to work... isset only works for variables? My image uploads fine if I remove this code, how do you test if a file has been uploaded or not?

if (isset($_POST[imagefile])){ }




<input type=\"file\" name=\"imagefile\">

CFMaBiSmAd
08-18-2007, 04:05 AM
how do you test if a file has been uploaded or not
http://www.php.net/manual/en/features.file-upload.errors.php

iceflyin
08-18-2007, 04:09 AM
Sweet, thanks!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum