Jump to content

Identifying URL of calling page


pulsedriver

Recommended Posts

I have a problem I can't solve and would be very happy if someone could help me:

 

I have a number of HTML pages on server X, that call an external PHP script on server Y. The PHP script needs to know the URL of the HTML page that calls it. Can this be done without using scripting on the HTML pages on server A? (I want this to work for browsers with javascript disabled)

 

Unfortunately I don't know in advance what HTML pages will call the script. Otherwise I could just manually append the URL of the calling HTML page to the URL for calling the external script. I don't think this can be done dynamically without scripting...

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/40662-identifying-url-of-calling-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.