How can I get the domain name and save it automatically? this is the case. someone has stolen our template, how can I add the automatically retrieve domain name list in the template and save it to the txt file of another website! & Nbsp; I believe everyone understands this! Please kindly advise! Share to: how can I get the domain name and save it automatically?
This is the case. someone has stolen our template. how can I add it to the template to automatically retrieve the domain name list and save it to the txt file of another website! I believe everyone understands this! Please kindly advise!
Share: More
------ Solution --------------------
If ($ _ SERVER ['http _ host']! = 'XXX. com '){
Echo 'script top. location. href = "http://xxx.com" script ';
}
It is difficult for people who understand the code to defend against it, but it is sufficient for those who do not understand programming.
However, it is useless for you to record domain names. do not talk about copyright in Tianchao.