phpsnip

كتابات: 

// enforce HTTPS on HTTP host
$_SERVER['protossl'] = 's';
$_SERVER['SERVER_PORT'] = 443;
$_SERVER['HTTPS'] = 'on';
$_SERVER['REQUEST_SCHEME'] = 'https';

Share this post