doushuhuai7247 2014-04-10 18:59
浏览 15

看看$ _GET值来自哪里 - php

I have a question on how to know where this $_GET value come from

$book = isset($_GET['book']) ? $_GET['book'] : null;

The problem is that this site that i am working with, has too many pages and its hard to find it, im trying to solve an error dealing with the $_GET value but first I need to know where it is comming from. Any suggestion? Thanks

  • 写回答

2条回答 默认 最新

  • douzhao2047 2014-04-10 19:00
    关注

    With $_SERVER["HTTP_REFERER"] you will get the URL of the page that was opened before getting to your actual page. Use this to know where the people come from.

    评论

报告相同问题?