[EMAIL PROTECTED] How to get REMOTE_USER?

2007-04-24 Thread Buffalo Dickens
Dear all, I am eager to know how to get the environment variable REMOTE_USER of apache 2. For example, I wrote this php file, html head titlehello/title /head body h1 Hello, ?php echo( $_SERVER[ REMOTE_USER ] ) ?! /h1 /body /html However, it just sent output like

Re: [EMAIL PROTECTED] How to get REMOTE_USER?

2007-04-24 Thread Neil A. Hillard
Hi, Buffalo Dickens wrote: Dear all, I am eager to know how to get the environment variable REMOTE_USER of apache 2. For example, I wrote this php file, html head titlehello/title /head body h1 Hello, ?php echo( $_SERVER[ REMOTE_USER ] ) ?! /h1 /body