"how to check if a php script is being called by another script on the server?" Code Answer

1

in the form of an http url

the $_server["remote_addr"] variable that gives you the ip address of the client who made the request should be 127.0.0.1 when the script is called from the server.

By meteors on July 8 2022
Only authorized users can answer the Search term. Please sign in first, or register a free account.