如何获取使用我们的脚本或Web应用程序的网站的名称

Hello friends i wanted to make a system to detect my web application i wanted to check how many domains using my web application and someone is using it illegally so i want to destory the this app remotely is it possible friends? Any method via php or javascript to control my own web app remotely I am using PHP to develope this admin panel

I do not believe this is possible using PHP or JavaScript.

First, referers can easily be faked, so you can not trust that.

Second, to delete files off of a remote computer using PHP (server only) or JavaScript (client based, but limited) is not possible. PHP can't touch files on the client computer/phone, and JavaScript can't delete files as a security measure.