On 26 Sep 2011 at 23:45, vince chan <rainma...@gmail.com> wrote: 

> I have a general question about  PHP:
> So basically I have a link, and I want the href to be absolute., so I
> do 'https://' . $_SERVER['HTTP_HOST'] . '/login' ; this gives me
> on my local; however, what i really want is
>, it is missing ":9090". I also have tried to
> use  $_SERVER['SERVER_PORT'],  but $_SERVER['SERVER_PORT'] doesn't give me
> 9090, it gives me 80.

Where does the 9090 come from?

Cheers  --  Tim

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

Reply via email to