What's the function of the @ operator? All I can gather from the php site is that it has something to do with type.
if you put it before a command it will prevent the code from displaying any error messages
http://www.php.net/manual/en/language.operators.errorcontrol.html