You are here: Echo filename in <title> « PHP Programming Language « IT news, forums, messages
Echo filename in <title>

Posted by geetarista on 09/24/07 00:17

I know this is probably very simple, but for some reason I can't get
it to work. Basically, I want to use the filename of a web page
within the <title> tags in the page <head>. So, if the filename is
pictures.php, I want the title to be "Root title - Pictures", where
the word "Pictures" is generated by PHP. So I just need PHP to look
up the filename without the extension, capitalize the first letter,
and then have the ability to call it within <title>.

 

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

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