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
if($_GET['auth'] == 'true') {
but yes, this is correct way to do it
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.