Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Programming (http://www.domainnameforum.org/forumdisplay.php?f=18)
-   -   Quick PHP https to http redirect question (http://www.domainnameforum.org/showthread.php?t=98756)

webdev 06-02-2010 01:49 AM

Quick PHP https to http redirect question
 
Hello, I wrote(attempted) to write a script to detect if the user was coming in on 80 or 443, and if 80 it would do a header redirect to HTTPS. I can't test it ATM, and I wanted to add this to a script. Can someone tell me if this works, or test it for me? if($HTTPS != 'on') {...


All times are GMT -4. The time now is 09:46 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.