Alexei Batyr' writes:

Sam Varshavchik writes:

> And that's what occurs here. sendmail terminates with a non-zero exit code,
> after emitting an error message. It is the responsibility of whatever forks
> and executes a child process, and waits for the child process to terminate,
> to check its exit code, and report any failures.

I agree, but "advanced PHP programmers" don't even think about checking
return value of mail() function that invokes sendmail.

If they don't, the "advanced" adjective should not really apply.

Failure to check exit codes, and assuming that anything, mail(), or something else, will always succeed, is a newbie mistake.

It wouldn't surprise me too much if those same "advanced PHP programmers" would also have a habit of not properly validating input parameters, which would lead to all sorts of interesting ways of using their PHP code.

Attachment: pgpQSngaeaicS.pgp
Description: PGP signature

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to