PHP HTTPS to HTTP -
i having difficulty header function in php. phone call function initiated on secure https page. every time phone call header function http://, somewhere changing protocol https.
in program, example:
header("location: http://www.google.com"); takes me https://www.google.com instead.
my environment iis 7.5 windows 2008 64-bit php 5.5.12 fast cgi
is there have accidentally enabled either in iis or php.ini automatically forcefulness http https?
this not happen when launching code http page, http http works, http https works , https https work. however, https http failing.
i've been searching , results maintain reversing question showing me ways forcefulness http https. need opposite.
thanks in advance assistance!
edit: google illustration url. sorry.
header("location: http://www.systronicsinc.com/"); is actual url failing. keeps redirecting https://www.systronicsinc.com/.
this raw header fiddler.
http/1.1 303 see other cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: no-cache content-type: text/html; charset=utf-8 expires: thu, 19 nov 1981 08:52:00 gmt location: https://www.systronicsinc.com/ server: microsoft-iis/7.5 x-powered-by: php/5.5.12 set-cookie: phpsessid=va1hh3ff8h0buus689kf86eoc1; path=/ date: fri, 24 oct 2014 17:39:34 gmt content-length: 156 <head><title>document moved</title></head> <body><h1>object moved</h1>this document may found <a href="http://www.systronicsinc.com/">here</a></body> i find interesting link in body retained original http protocol set, location field in header modifying https. i've been hunting through iis , php.ini file. cannot see dictate behavior. maybe additional info spark thought someone. thanks!
google uses ssl, https://, it's websites.
see: https://support.google.com/websearch/answer/173733?hl=en
and: https://www.seroundtable.com/google-ssl-drops-query-data-14188.html
php http iis https
No comments:
Post a Comment