how to configure htaccess file

1. Prevent Hotlinking Options +FollowSymlinks #Protect against hotlinking RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www.)?domainname.com/ [nc] RewriteRule .*.(gif|jpg|png)$ http://domainname.com/img/stop_stealing_bandwidth.gif[nc] 2. Block All Requests From User Agents #Block bad bots SetEnvIfNoCase user-Agent ^FrontPage [NC,OR] SetEnvIfNoCase user-Agent ^Java.* [NC,OR] SetEnvIfNoCase user-Agent ^Microsoft.URL [NC,OR] SetEnvIfNoCase user-Agent ^MSFrontPage [NC,OR] SetEnvIfNoCase user-Agent ^Offline.Explorer [NC,OR] SetEnvIfNoCase user-Agent ^[Ww]eb[Bb]andit [NC,OR] SetEnvIfNoCase [...]

how to send email from localhost using php

how to send email from localhost: if you are not able to send emails from  localhost while using XAMPP or WAMP or any other PHP servers in windows environment then I will suggest you to follow the given steps. 1) Open the “php.ini“. It is located  upon the particular server you’re running. 2) Search for [...]