Page 1 of 1

I have doubt in @$_FILES[userfile][type]=="image/gif"

Posted: Sat Jan 09, 2010 5:54 am
by tamilmani
Hi Everyone,

I have one doubt in below code @$_FILES[userfile][type]=="image/gif"

Why @ symbol use before ??? Please any one tell me .

Re: I have doubt in @$_FILES[userfile][type]=="image/gif"

Posted: Sat Jan 09, 2010 5:59 am
by rajsekar2u
It prevents errors from being displayed when the function is called.

Re: I have doubt in @$_FILES[userfile][type]=="image/gif"

Posted: Sat Jan 09, 2010 6:00 am
by tamilmani
for what types of error ???? Can you give some example Please :|

Re: I have doubt in @$_FILES[userfile][type]=="image/gif"

Posted: Sat Jan 09, 2010 6:34 am
by requinix
Remove the @ and find out.