On Fri, 2004-11-26 at 09:46, John Nichel wrote: > Jerry Swanson wrote: > > What variable(parameter) in PHP stores file name? > > > > TH > > Stores what filename? The name of the file being executed? > > $_SERVER['SCRIPT_NAME'] Or if you want the name of the file included or whatnot... __FILE__ Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php