Welcome Guest, Not a member yet? Register   Sign In
How can I check if there's a file selected for upload?
#5

[eluser]xwero[/eluser]
The right way to do it is
Code:
if($_FILES['image']['error'] == 4)
{
   // no file added to file field
}


Messages In This Thread
How can I check if there's a file selected for upload? - by El Forum - 11-23-2008, 11:27 AM
How can I check if there's a file selected for upload? - by El Forum - 11-23-2008, 01:18 PM
How can I check if there's a file selected for upload? - by El Forum - 11-23-2008, 10:38 PM
How can I check if there's a file selected for upload? - by El Forum - 12-08-2008, 06:21 PM
How can I check if there's a file selected for upload? - by El Forum - 12-09-2008, 02:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB