how can find request is from which URL using PHP? [duplicate]

I want to know the URL of the site that calls my API, and if it has permission to get data. I know there is HTTP_REFERER variable in $_SERVER but usually it is empty.

How can I find this?



from Recent Questions - Stack Overflow https://ift.tt/3nXyAxa
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations