Re: [PHP] damn $REQUEST_URI

2001-06-25 Thread infoz
$HTTP_HOST Run a page with on your server & you'll see all sorts of goodies in there. - Tim http://www.phptemplates.org - Original Message - From: "Peter Van Dijck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 25, 2001 7:10 AM Subject: [PHP] damn $REQUEST_URI > $R

Re: [PHP] damn $REQUEST_URI

2001-06-25 Thread Attila Strauss
hi, try $SERVER_NAME http://www.php.net/manual/en/ref.http.php regards attila strauss > $REQUEST_URI gets me home/dir/index.php > but I need to get the domain name. > > Can't seem to find it anywhere, what's the environment variable for the > domain name again? Thanks! > Peter > -- PH

RE: [PHP] damn $REQUEST_URI

2001-06-25 Thread Maxim Maletsky
$url = sprintf("http://%s/%s";, $HTTP_HOST, $REQUEST_URI); Cheers, Maxim Maletsky -Original Message- From: Peter Van Dijck [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 8:10 PM To: [EMAIL PROTECTED] Subject: [PHP] damn $REQUEST_URI $REQUEST_URI gets me home/dir/index.php but