Hi Guys,
I already know that the PHP version running at Dreamhost is somehow different, some functions not working, like fopen() with URL (worked around using cURL).
Now, I discovered one more function that does not work. I presume there is an another workaround for this. Or I’m missing someting…
What is a PHP function that does work at Dreamhost and returns username of a member who is at the moment surfing members’ area, authenticated by simple .htaccess/.htpasswd?
The .htaccess/.htpasswd protection of my numerous member’s areas works just fine on my Deamhost PS.
I tried $_SERVER[‘PHP_AUTH_USER’] and it didn’t work, comes out empty.
$_SERVER[‘PHP_AUTH_PW’] the same.
I’m trying to program a simple anti-abuse solution, reading IPs and users, to see how many concurrent IPs are acessing as the same user.
Thanks!
G.
www.SaintPaulGirls.com, www.g18spot.com, www.g18hdtv.com, www.18club.com, www.Forum18.com