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'];
精彩评论