Quote:
Originally Posted by vu159951
put htaccess file to prevent domain which using POST method or Iframe . you can prevent Iframe but cannot prevent POST data to his host. So ban IP or domain which leeched his link in htaccess is enough. about premium hosting you can donate him. he will buy it soon
:D:D
|
I don't know much knowledge about HTACCESS, cz I using nginx server :(
but, if u meant to 'prevent' POST data, maybe it could prevented using something like below code
PHP Code:
<?php
if(isset($_SERVER['HTTP_REFERER'])){
if($_SERVER['HTTP_REFERER'] == 'yourdomain'){
//your codes goes here...
}else{
//message(i meant output) for them who tried using POST method
}
}
?>
ban IP was the cool way, but, how to track them? if your php didn't leave the traffic logs, or using IP switcher maybe << I don't know if it possible :D LOL
I want to have a premium hosting too, if I can, I have no credits anywhere, just some real coins here for buy coffee
PS:
Thank you, for your reply vu :)