note 3689 modified in parse_url by ronabop

From: Date: Sat, 26 Aug 2000 06:59:37 +0000
Subject: note 3689 modified in parse_url by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3391@lists.php.net to get a copy of this message
to request the current server name (such as "www"), try requesting $server_name. this will return the "www.something.net" part of the url. You can then parse it to return everything up untill the first "." http://www.php.net/manual/function.parse-url.php

« previous php.notes (#3391) next »