$ _GET ['_ escaped_fragment_']没有返回任何内容

时间:2015-07-14 07:58:17

标签: php ajax

我正在关注html snapshot关于如何返回快照的教程,我正在测试的第一件事就是如果$_GET['_escaped_fragment_']返回任何内容但它没有,我的代码就是这个:

<? 
  $escaped_fragment = $_GET['_escaped_fragment_'];

  if(isset($escaped_fragment)){ ?>
    <script>
    $(document).ready(function(){
      console.log("helloo")
    })
    </script>
<? } ?>

通常我会在控制台中获得helloo,但我没有。我能做错什么?

修改:我打开URL domain.com/?_escaped_fragment_

0 个答案:

没有答案
相关问题