Try to read the global variable $HTTP_ENV_VARS.
There is an element, SCRIPTNAME, where PHP store its executed script in.
Try this and you'll find what you need.
<?
print "<pre>";
print_r($GLOBALS);
print "</pre>";
?>
Good luck.
Mespulien
"Ruby Tuesday" <rubytuzdayz@yahoo.com> schreef in bericht
news:bukabd$it1gk$1@ID-205437.news.uni-berlin.de...
> Suppose I have a web url:
>
> http://some/site/script.php?value1=x&value2=y&value3=z
>
> how do I view what's the calling scripts, e.g it should return scripts.php
> or with the full-pathname.
>
> Thanks.
>
>