open header location in new pop up window?

后端 未结 1 1349
感情败类
感情败类 2021-01-29 10:44

I\'m trying to see if i can open a header location like this:

if ($_GET[\'id\'] == 99993) {
    header(\"Location: page.php\");
}

and get it to

相关标签:
1条回答
  • 2021-01-29 11:02

    Redirect to the pretty photo URL instead of the php file.

    header("Location: http://yoursite.com/page?pretty_photo_url");

    0 讨论(0)
提交回复
热议问题