may saghira may saghira - 4 months ago 9
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

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