[PHP] Re: HTTPS oddity

2001-08-19 Thread Richard Lynch

Try throwing a ?php phpinfo();? on each port and see what else you are
getting...



--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Nigel Jewell [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL PROTECTED]
Sent: Sunday, August 19, 2001 12:12 PM
Subject: HTTPS oddity


 Dear all,

 I have a SSL server set up and I check in PHP that its running over SSL by
 doing:

 if ($HTTPS) {
 ..
 }

 This has worked for ages - but sometime last night the behaviour of my/our
 server changed and now over an non-SSL connection, $HTTPS = ON and over a
 SSL connection $HTTPS = on (note the change in case).  This is odd - and I
 can't find the source.

 Unfortunately I'm not the only one with admin access to the server - so
 someone may have changed something :(.

 Anyone got any ideas?  Where to start looking?

 Thanks,

 Nige.

 --
 URL: http://www.grufty.co.uk



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: HTTPS oddity

2001-08-19 Thread speedboy

 Try throwing a ?php phpinfo();? on each port and see what else you are
 getting...
 
  This has worked for ages - but sometime last night the behaviour of my/our
  server changed and now over an non-SSL connection, $HTTPS = ON and over a
  SSL connection $HTTPS = on (note the change in case).  This is odd - and I
  can't find the source.

I can't remember what I did, but this happened to me as well. I have a check
https function. I restarted apache and I think it worked. phpinfo still showed
the $HTTPS variable but I could not use it inside a function even though I had
it set as a global variable. Try restarting...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]