A currently existing page is handed a value like this:
in the html of that page :
code = (self.location.search) ? self.location.search.substring(1) :
if (code == "code_value")
// build url ...
I want to change the js to php ... but how do I get the code value ?
because, if I understand correctly, php would expect ?code=value