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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tamilmani
Forum Commoner
Posts: 39
Joined: Tue Apr 01, 2008 2:53 am

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

Post 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 .
rajsekar2u
Forum Commoner
Posts: 71
Joined: Thu Nov 20, 2008 4:23 am

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

Post by rajsekar2u »

It prevents errors from being displayed when the function is called.
tamilmani
Forum Commoner
Posts: 39
Joined: Tue Apr 01, 2008 2:53 am

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

Post by tamilmani »

for what types of error ???? Can you give some example Please :|
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

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

Post by requinix »

Remove the @ and find out.
Post Reply