I looked at my yesterday's code and noticed there is no reason for a conditional statement strlen($_SERVER["HTTPS"]).

isset($_SERVER["HTTPS"]) && strlen($_SERVER["HTTPS"]) && strtolower($_SERVER["HTTPS"] != "off")

can be replaced by

isset($_SERVER["HTTPS"]) && strtolower($_SERVER["HTTPS"] != "off")


asaris

Derrell Lipman wrote:
On 8/1/07, asaris <[EMAIL PROTECTED]> wrote:
  
Hi all,

JSON-RPC PHP failed to determine SSL connection on our server. I made
some changes to determine it correctly.

We use Apache 2.0 & PHP5.2.2 and SSL connection can be determined by
$_SERVER["HTTPS"], not by $_SERVER["SSL_PROTOCOL"].

Variable $_SERVER["HTTPS"] can be found in predefined variables
http://uk2.php.net/reserved.variables
    

Great, thanks!  I'll check in a fix shortly.

Derrell

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

  
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to