Profile
Achievement
kf0l's Recent SnippetsTagged php
- All /
« Prev 1 Next »
This 'Check if HTTPS is on in PHP' script accounts for servers which set HTTPS differently. Some servers do not set HTTPS, others set it to 'off', etc. Only checking if HTTPS is on will cause an 'undefined index error' in these cases.
0
1026
posted 12 years ago by kf0l