Login
New Snippet
Your Favorites
Popular Snippets
Recent Snippets
Profile
christiams
CODIGO PARA OBLIGAR AL SITIO A IR AL HTTPS
Language
PHP
Tags
HTTPS
PHP
SSL
OBLIGAR AL SSL
Comments Mode
Copy & Paste Mode
Embed
1
if
(
isset
(
$_SERVER
[
'HTTPS'
])
&&
$_SERVER
[
'HTTPS'
]
==
'on'
)
{
1
if
(
isset
(
$_SERVER
[
'HTTPS'
])
&&
$_SERVER
[
'HTTPS'
]
==
'on'
)
{
Comments
Sign in
to leave a comment.
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {