|
Posted by cresh on 09/25/07 02:49
On Sep 24, 7:16 pm, macca <ptmcna...@googlemail.com> wrote:
> >From the original post:
>
> Basically, I want to use the filename of a web page
> within the <title> tags in the page <head>.
> <snip>
> 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>.
>
> My function soes exactly what he asked for.
Seems that you've gotten this figured out. I'd only add to put all
your <head> variables in one file and call it with INCLUDE or REQUIRE
as someone above me already stated. There's a lot of reasons for this,
the best being less room for error. Create one file, run many, many
pages with it.
Great stuff.
Cresh
Navigation:
[Reply to this message]
|