I am sending out a request to a site, which needs a returning URL. Once that returning URL is put in, I’d like to run this particular section of my code.
How do I do this?
I have tried the return URL as :
file.php?auth=true
and
if($_GET['auth'] == 'true') {
Do Something
}
But the previous page appears to load.
Is there any other way to do it?
You’ve got syntax error on the first line
It should be
but yes, this is correct way to do it