Re: mail addition

From: Date: Tue, 07 Mar 2006 22:54:53 +0000
Subject: Re: mail addition
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-22236@lists.php.net to get a copy of this message
Gareth Ardron wrote: > Hi, > > Sort of mailing this in as the result of the rantings of quite a few > mates of mine who look after shared hosting boxes. > > Would it be acceptable to do up a patch for the mail() function which'll > listen to an ini entry[0] for a logfile to log all mail sent using this > function. You can do this in "admin-space": http://blog.phpdoc.info/archives/20-mail-replacement-a-better-hack.html True, it doesn't prevent the user from ini_set()ing, but unless you're blocking the socket functions, the user can get around this anyway. S

« previous php.internals (#22236) next »