July 25, 2015

Tìm code spam mail trên kloxo mr !

edit php.ini :
thêm vào 

[mail function]
SMTP = localhost
smtp_port = 25
sendmail_path = /usr/sbin/sendmail -t -i
mail.add_x_header = On
mail.log = /var/log/phpmail.log



touch /var/log/phpmail.log

chmod 777 /var/log/phpmail.log

service httpd restart



This trick works only with PHP 5.3.0 and after.

0 comments:

Post a Comment