You are here: How to get the filename of a called PHP script « All PHP « IT news, forums, messages
How to get the filename of a called PHP script

Posted by Stefan Mueller on 02/26/06 17:16

I'd like to get the filename of a called PHP script.
E.g. if you call
http://www.test.com/subdir/start.php
I'd like to get within the PHP script 'start.php' the name 'start.php'.

I've several PHP scripts and of course I could add at the beginning of each
PHP script the name of the PHP script itself. But if there's a possibility
to read its name from the filename I'd prefer this method.

Stefan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация