note 71853 added to ini.core

From: Date: Tue, 19 Dec 2006 18:38:35 +0000
Subject: note 71853 added to ini.core
Groups: php.notes 
Request: Send a blank email to php-notes+get-120775@lists.php.net to get a copy of this message
to make sure that all requests use SSL you can use this in a file that is set for auto_prepend_file. This ensures that all requests are SSL <?php if(empty($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) != 'on' ) header("Location: https://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}") and exit(); ?> ---- Server IP: 216.194.113.175 Probable Submitter: 70.125.112.248 ---- Manual Page -- http://www.php.net/manual/en/ini.core.php Edit -- https://master.php.net/note/edit/71853 Del: integrated -- https://master.php.net/note/delete/71853/integrated Del: useless -- https://master.php.net/note/delete/71853/useless Del: bad code -- https://master.php.net/note/delete/71853/bad+code Del: spam -- https://master.php.net/note/delete/71853/spam Del: non-english -- https://master.php.net/note/delete/71853/non-english Del: in docs -- https://master.php.net/note/delete/71853/in+docs Del: other reasons-- https://master.php.net/note/delete/71853 Reject -- https://master.php.net/note/reject/71853 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120775) next »