开发者

ajax load and php server request uri

I am loading "myscript.php" to a div.

When i use $_SERVER['REQUEST_URI'] in myscript.php, it prints myscript.php's url.

how can i print the page's u开发者_运维知识库rl that myscript.php is loaded into ?

thanks


maybe this?

echo $_SERVER['HTTP_REFERER'];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜