note 76813 added to reserved.variables

From: Date: Tue, 31 Jul 2007 20:49:37 +0000
Subject: note 76813 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-129084@lists.php.net to get a copy of this message
This small snippet will build the current script's url. No muss, no fuss: <?php $self_url = sprintf('http%s://%s%s', (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == TRUE ? 's': ''), $_SERVER['HTTP_HOST'], $_SERVER['REQUEST_URI'] ); ?> ---- Server IP: 64.71.164.2 Probable Submitter: 65.106.220.162 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- https://master.php.net/note/edit/76813 Del: integrated -- https://master.php.net/note/delete/76813/integrated Del: useless -- https://master.php.net/note/delete/76813/useless Del: bad code -- https://master.php.net/note/delete/76813/bad+code Del: spam -- https://master.php.net/note/delete/76813/spam Del: non-english -- https://master.php.net/note/delete/76813/non-english Del: in docs -- https://master.php.net/note/delete/76813/in+docs Del: other reasons-- https://master.php.net/note/delete/76813 Reject -- https://master.php.net/note/reject/76813 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129084) next »