may saghira may saghira - 1 year ago 45
PHP Question

Is there a way to know from which website an URL is being calling?

I have a URL and I call it from many web sites. Is there a way to know from which website the URL was called?

Answer Source

Use $_SERVER["HTTP_REFERER"], however you shouldn't trust it for security purposes as it can be altered very easily.