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

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept