Re: [users@httpd] Page Title

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxx | jallits.wordpress.com

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux