Sample PHP Mail Script with SMTP Authentication

The below email script is for PHP emailing with SMTP authentication. //new function $to = “you@your-domainname.com”; $nameto = “Who To”; $from = “script@your-domainname.com”; $namefrom = “Who From”; $subject = “Hello World Again!”; $message = “World, Hello!”; authSendEmail($from, $namefrom, $to, $nameto, $subject, $message); ?> /* * * * * * * * * * * * […]

See More

Rule execution error – PCRE limits exceeded (-8)

[Tue 01 11:14:37 ] [error] [client XX.XX.XX.XX] ModSecurity: Rule execution error – PCRE limits exceeded (-8): (null). [hostname “www.domainname.com”] [uri “/client/forgot_password.php”] [unique_id “HADMQWW3LaKoLKAiYAAaAAP”] To fix This modsecurity issue with the domain, followed the steps given below : 1) Login to the server as root. 2)Go to directory /usr/local/apache/conf Run : [root@localhost~]# cd /usr/local/apache/conf 3)Then Create […]

See More