I found the __FILE__ now, but this is not exactly what I want: I would like to have one script generating links to itself, only with different variables sent via GET like this:
http://www.mydomain.tld/myscript.php?request=showcontent But __FILE__ gives me a file://-path... Do you have a smart idea how to avoid this? Of course I can strip simply everything to [...]/htdocs/, but isn't there a smarter way? Cheers, Kiko -- It's not a bug, it's a feature. [.nfq] christoph starkmann tel.: 0821 / 56 97 94 34 fax.: 0821 / 56 97 94 38 http://www.gruppe-69.com/ ICQ: 100601600 -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php