It's quite easy to remove access to the mail function, simply put mail in
your php.ini under disable_functions


"Hernan Marino" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
sorry. lazy me.
there is auto_prepend_file in php.ini
I'll see if it works.
Thanks!


On Fri, 2 Apr 2004 03:51:18 -0300, Hernan Marino wrote:
Thanks for your answer.
Don't you know if there is a way to redefine the mail() function in
the php.ini file without touching the source code. Something like
prepending a file for every script parsed in the server and redefine
there several functions.... or something like that.

Thanks!



On Fri, 2 Apr 2004 07:46:48 +0100, Duncan Hill wrote:
On Friday 02 April 2004 07:39, Hernan Marino wrote:
> Hello.
> My users can send email from their web pages using mail().
> But the email is sent from [EMAIL PROTECTED], I dont want them to
> attempt to send bulk, so I wonder if there is any way to identify
the

Consider removing the mail() function, and requiring they they use
SMTP
connections.  I believe one of the external mail classes supports
authenticated SMTP, so with that you could tell who was sending the
mail.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to