Stop users from using contact form

Empty2002

New member
If your site is using a Help Desk of sorts for support and are trying to eliminate e-mail support users still can email you by typing in the URL to your site and loading the file sendmessage.php file Instead of deleting, renaming or CHMODing the file I thought it was a better idea to just do a PHP re-direct.

So in sendmessage.php delete everything inbetween and including: <?php and ?>

Insert:

Mã:
<?php
header("location: [some-url]");
?>
Where some-url is where you would like to send your users when they attempt to manualy contact you via email.




 
Back
Top