Hi everyone!
I'm developing a website where is stored my swfkrpano.js the krpano.swf and my krpano.xml.php, and my clients (in other sites) loads my panoramas through a cross-domain request of those files.
My main XML file (krpano.xml.php) is a PHP, and... for dinamyc and security reasons this file needs to somehow evaluate what domain are doing the request of my krpano.xml.php? so then, it will decide if the domain is a valid domain and then generate some dinamyc XML response
My question is.. how to know with PHP from where domain comes the request?
Thanks all!