More about your setup?
Try $_ENV['HTTPS'], or access phpinfo() page using https and see what you get.
Jamie wrote:
Hi,
That code I sent is running on a Cobalt Linux server.
-Dan Joseph
Why does it work for you then and not for me on a rhl 9 setup?
On phpinfo I have:
SCRIPT_URI https://host.mydomain.com/phpinfo.php _SERVER["SCRIPT_URI"] https://host.mydomain.com/phpinfo.php
Michael.
According to my phpinfo there is not a SCRIPT_URI
This is weird and confusing... why does it only work on a few operating systems :S
Jamie
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php