Profile
Achievement
kf0l's Recent Snippets
- 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
1007
posted 12 years ago by kf0l