Name of file

From: Date: Tue, 11 Jun 2002 10:07:58 +0000
Subject: Name of file
Groups: php.general 
Request: Send a blank email to php-general+get-101519@lists.php.net to get a copy of this message
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 --

« previous php.general (#101519) next »