.htacces: Obtain login name and print on page.

Discussion in 'Apache' started by Pro Grape, Jan 2, 2007.

  1. #1
    Hi, what I am trying to do is, when a user logs in to a page using htaccess, to print their login name. I hope I'm not asking a stupidly simple question, as I'm a bit of a newb when it comes to .htaccess. Something like "Welcome, Bob." Is there a way to pass the name as a parameter to the JavaScript on the page (or perhaps not using JavaScript)? How is this generally done? Thanks for any info.

    Grape
     
    Pro Grape, Jan 2, 2007 IP