Jump to content

[SOLVED] read .htaccess with php


chronister

Recommended Posts

I hate to double post here as it is in the apache thread, but it is php as well :)

 

Is it possible to determine with PHP what .htaccess username has been used? I currently have .htacess authentication going on one of my sites and would like to figure out how to read which user has logged in and show appropriate links and such.

 

I have looked and cannot determine how the .htaccess file creates a session login. I have searched the web, and have used print_r($_COOKIE); to see if it would be there. It was not.

 

Anyone have any idea on this?

 

Thanks for the help.

 

Nate

Link to comment
https://forums.phpfreaks.com/topic/126750-solved-read-htaccess-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.