[Wolves] Log in, and use with php/mysql

Wayne Morris waynelists at machx.co.uk
Wed Jul 11 23:18:57 UTC 2012


On 11/07/2012 00:03, Wayne Morris wrote:
> On 10/07/2012 08:26, James Turner wrote:
>> On 10/07/12 00:30, Wayne Morris wrote:
>>
>>> As the users are already allowed/barred from the entire webserver based
>>> on a .htaccess and .htpasswd file combination, is it possible to pull
>>> the user name
>>> from this so that if bob signs in, bob can be used as variable to 
>>> insert
>>> into records showing he altered it?
>>
>> Show the user name that was entered via HTTP authentication:
>>
>> echo $_SERVER['PHP_AUTH_USER'];
>>
>>
>> Regards,
>>
>> James
>>
>> ______________________________________
>
> thanks, I'll try both
>
>
> _______________________________________________

perfect ;-) thanks



More information about the Wolves mailing list