"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.
the
$_server["remote_addr"]
variable that gives you the ip address of the client who made the request should be127.0.0.1
when the script is called from the server.