You are here: Re: 'nested conditional' that can identify parent page? « PHP Language « IT news, forums, messages
Re: 'nested conditional' that can identify parent page?

Posted by Alan Jones on 05/13/07 02:53

echo basename($_SERVER['SCRIPT_FILENAME']);

....returns the name of the file it is in. I need the code in an
include file to somehow determine, or derive, the name of its
'parent' file in a given instance. This procedure would be
happening within the include file as it resides in the parent file.

Any help from anyone is greatly appreciated. :)

 

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

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