Re: Re: header

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

 



On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote:
>
> I also meant:
> define('PUBLIC_BASE_HREF' , 'http://php.net/')
> <head>
> <base href="<?php echo PUBLIC_BASE_HREF; ?>" />
> </head>
> 
> and further thinking there has to be an easier / cleaner way of getting 
> "http://"; / "https://"; in php..

What's wrong with $_SERVER['HTTPS'] ?

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux