Welcome Guest, Not a member yet? Register   Sign In
file uploaded check
#4

[eluser]pendalpusher[/eluser]
when i use this code
Code:
if ( $_FILE['userfile']['size'] > 0 )
{
    //the user has selected a file
}

i get the following error
Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: _FILE

Filename: controllers/banner.php

Line Number: 127

Any other suggestions would be great.
C


Messages In This Thread
file uploaded check - by El Forum - 04-15-2010, 05:59 PM
file uploaded check - by El Forum - 04-15-2010, 09:20 PM
file uploaded check - by El Forum - 04-16-2010, 02:38 AM
file uploaded check - by El Forum - 04-16-2010, 04:08 PM
file uploaded check - by El Forum - 04-16-2010, 04:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB