我可以在不请求的情况下从URL获取值吗


Can I get the value from URL without requesting it ?

可能重复:
如何解析将URL存储在变量中的URL GET数据?

我可以在不请求页面(刷新)或按下链接的情况下从URL获取值吗我需要这个url 中p的值

http://palestinianz.com/?page=person&p=Betty-Shamieh-

在Facebook 的og:title元标签中使用

$url = parse_url("http://palestinianz.com/?page=person&p=Betty-Shamieh-");
parse_str($url['query'], $data);
$p = $data['p'];