I have a form which uploads an image great....however how can I check that the image field is actually set in the first place.
In other words, how can I validate that the form hasn't been submitted with the img field empty?
I have tried things like:
if(!isset($_FILES['image'])){
and....
if(!isset($_FILES['image'][tmp_name)){
...but no luck
Any ideas would be more than appreciated
Cheeers.