Yes, there is a variable for this: $_SERVER["PATH_INFO"] I am not sure if it is the same on all webhosts, you may have to run phpinfo(); If that doesn't work. Nan -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Bob Meetin Sent: Thursday, October 30, 2008 3:41 PM To: thelist at lists.evolt.org Subject: [thelist] php function to return filename is there a php function that can be used to return the filename that it is sitting in, or actually to place the name into a variable? <?php $this_file = some_php_function(); ?> -- Bob Meetin www.dottedi.biz 303-926-0167 Hook up with me on Twitter, Facebook, LinkedIn, Plaxo Pulse and Bebo or catch my blog at www.dottedi.biz/blog.php Standards - you gotta love em - there are so many to choose from! -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !