PHP Classes

Important! Must make changes for HTTPS

Recommend this page to a friend!

      Soap Discovery  >  All threads  >  Important! Must make changes for HTTPS  >  (Un) Subscribe thread alerts  
Subject:Important! Must make changes for HTTPS
Summary:This code doesn't work when on HTTPS
Messages:2
Author:Trevor
Date:2011-06-08 21:31:10
Update:2011-09-28 16:06:21
 

  1. Important! Must make changes for HTTPS   Reply   Report abuse  
Picture of Trevor Trevor - 2011-06-08 21:31:10
This code needs to be updated to work when using HTTPS

To quick-fix it, Search for SERVER_NAME throughout the included files, and change https:// on those lines to http://

  2. Re: Important! Must make changes for HTTPS   Reply   Report abuse  
Picture of Michael Richey Michael Richey - 2011-09-28 16:06:21 - In reply to message 1 from Trevor
I mitigated the issue by replacing the static http with:

".($_SERVER['HTTPS']=='on'?'https':'http')."