Re: Getting the URL

From: Date: Mon, 16 Oct 2000 19:40:59 +0000
Subject: Re: Getting the URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20442@lists.php.net to get a copy of this message
Matt - Many thanks! This seems to work: $url = 'http://' . $HTTP_SERVER_VARS[SERVER_NAME] . $HTTP_SERVER_VARS[URL]; Except I need to remove the file name from the end of the string. Mastering the pattern matching in Perl/PHP is quite a challenge for me. Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.general (#20442) next »