For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2006 > Re: [PHP-INSTALL] Disabling mail() function in PHP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] Disabling mail() function in PHP
Rasmus Lerdorf

2006-11-05, 6:58 pm

edalB wrote:
> Hi all
>
> This is a odd request but we are hosting about 1000 websites on a
> server and the problem we have is that people are hosting websites and
> on some of the websites they have php mailing forms. Now we are
> experiencing loads of spam on the server with some script exploit.
>
> I need to know how I would beable to disable the mail() function in PHP.


See the disable_function ini directive.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com