httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Jallits <jall...@gmail.com>
Subject Re: [users@httpd] Page Title
Date Mon, 26 Dec 2005 19:24:46 GMT
Set the variable in a file that will be included globally throughout the site
<?php $title = "Chris Deeley"; ?>.

Then in your HTML template you ECHO the vaiable.

<title><?php echo $title; ?></title>


On 12/26/05, Dustin Krysak <mailinglists@backbonetechnology.com> wrote:
> the html title tag. You can echo it out with PHP.
>
> d
>
>
>
>
> On 26-Dec-05, at 11:16 AM, Christopher Deeley wrote:
>
> If there a way to set the page title (ie the thing that appears in he
> browser window) using PHP?
> At the moment all my pages display the full path (ie
> http://www.mydomain.com/page.php) in the title bar. Is
> there any way using PHP to change this to display a title I want?
>
> Thanks
>
>
>
> ----------
> Dustin
>
>


--
Best regards,



Daniel C. Jallits
100 E. Oneida Avenue
Elmhurst, Illinois 60126-4465
United States of America
T: 630.279.2798 | M: 630.670.3775
jallits@gmail.com | jallits.wordpress.com
Mime
View raw message