Hi guys and girls so I'm building a little app, but I got stuck a but in some fundamental understandings.
I need to know how do you check for the URL from where the ajax call came from on the server side (PHP)... I've found this and not 100% if I can use this in some way ?
$_SERVER["HTTP_HOST"] . $_SERVER["HTTP_REFERER"]
And lastly if someone uses a phone (having said the project is built in Phonegap in near future) what would the server response then look like in terms of the URL return?
Can anyone please help me with these questions, would be appreciated!