note 93665 added to language.operators.errorcontrol

From: Date: Tue, 22 Sep 2009 09:04:58 +0000
Subject: note 93665 added to language.operators.errorcontrol
Groups: php.notes 
Request: Send a blank email to php-notes+get-160916@lists.php.net to get a copy of this message
I use the @ for sending emails, so I can control the status of the email sent avoiding the errors message when, for instance, the server respond the user is unknown. example: if (@mail($to,$from,$body,$header)) do_domething(); else give_error_message(); Hope this be useful! ---- Server IP: 208.69.120.35 Probable Submitter: 85.48.255.250 ---- Manual Page -- http://www.php.net/manual/en/language.operators.errorcontrol.php Edit -- https://master.php.net/note/edit/93665 Del: integrated -- https://master.php.net/note/delete/93665/integrated Del: useless -- https://master.php.net/note/delete/93665/useless Del: bad code -- https://master.php.net/note/delete/93665/bad+code Del: spam -- https://master.php.net/note/delete/93665/spam Del: non-english -- https://master.php.net/note/delete/93665/non-english Del: in docs -- https://master.php.net/note/delete/93665/in+docs Del: other reasons-- https://master.php.net/note/delete/93665 Reject -- https://master.php.net/note/reject/93665 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160916) next »