Re: [PHP] Checking an URL

2001-05-24 Thread YoBro
Sweet, that works! How simple was that, I was expecting something real complicated. Thanks dude. "Jason Murray" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Don't suppose you have some example code on how to do that? > > if ($HTTPS) > { > // You're in

RE: [PHP] Checking an URL

2001-05-23 Thread Jason Murray
> Don't suppose you have some example code on how to do that? if ($HTTPS) { // You're in secure mode } Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "What'll Scorpy use wormhole technology for?" 'Faster pizza delivery.' -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Checking an URL

2001-05-23 Thread YoBro
Don't suppose you have some example code on how to do that? "Christian Reiniger" <[EMAIL PROTECTED]> wrote in message 01052316371001.00599@chrisbig">news:01052316371001.00599@chrisbig... On Wednesday 23 May 2001 07:19, YoBro wrote: > Hello Everybody :-) > > I've been trying to figure something

Re: [PHP] Checking an URL

2001-05-23 Thread Christian Reiniger
On Wednesday 23 May 2001 07:19, YoBro wrote: > Hello Everybody :-) > > I've been trying to figure something out, but just cant find the right > answer. > > I need some code to check that the page is being viewed from a specific > url. EXAMPLE: Not just http://www but https://www1 if it is > https:

Re: [PHP] Checking an URL

2001-05-23 Thread elias
$url = "http://";. $HTTP_HOST. $REQUEST_URI; -elias http://www.eassoft.cjb.net ""YoBro"" <[EMAIL PROTECTED]> wrote in message 9efha5$9q2$[EMAIL PROTECTED]">news:9efha5$9q2$[EMAIL PROTECTED]... > Hello Everybody :-) > > I've been trying to figure something out, but just cant find the right > ans

[PHP] Checking an URL

2001-05-22 Thread YoBro
Hello Everybody :-) I've been trying to figure something out, but just cant find the right answer. I need some code to check that the page is being viewed from a specific url. EXAMPLE: Not just http://www but https://www1 if it is https://www1 then show the page otherwise echo a message. The re