Hi,
In the Simple News tutorial, it mentions there is a way to save the username from the htaccess protected files and use that as the author. Just wondering if anyone could show me how to do this, or direct me to a tutorial or post somewhere. Thanks!
Using htaccess username in php
Moderator: General Moderators
-
doubleohseven
- Forum Newbie
- Posts: 2
- Joined: Sun Jan 02, 2005 12:31 am
- Location: Pickering, Ontario, Canada
There is no way to read the password of a .htaccess access window. The username however you can get using
Code: Select all
<?php
$_SERVER['REMOTE_USER']
?>-
doubleohseven
- Forum Newbie
- Posts: 2
- Joined: Sun Jan 02, 2005 12:31 am
- Location: Pickering, Ontario, Canada