note 75282 deleted from reserved.variables by felipe

From: Date: Sun, 09 Dec 2007 15:18:21 +0000
Subject: note 75282 deleted from reserved.variables by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133058@lists.php.net to get a copy of this message
Note Submitter: Mike ---- Using HTTP_REFERER and parse_url() to display the host of the URL that a vistor came to your site from. <?php if($_SERVER['HTTP_REFERER'] != ''){ $URL = parse_url($_SERVER['HTTP_REFERER']); echo "Welcome, <b>".$URL['host']."</b> visitor!"; } ?>

« previous php.notes (#133058) next »