note 85027 deleted from reserved.variables.server by felipe
| From: | felipe@php.net | Date: | Tue, 12 Aug 2008 13:19:55 +0000 |
| Subject: | note 85027 deleted from reserved.variables.server by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-143394@lists.php.net to get a copy of this message | ||
Note Submitter: paulofernandesjr at gmail dot com
----
<?php
function getUrl(){
return "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
}
?>
this will not work with HTTPS protocol.