GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Writing cookies once passed .htaccess (https://gfy.com/showthread.php?t=67584)

drops 07-11-2002 12:39 PM

Writing cookies once passed .htaccess
 
I know how to write cookies.. but how do I grab the login name and store it?

CunnyFunt 07-12-2002 09:54 AM

The login name is passed as an environmental variable by the browser as: REMOTE_USER. In perl it's $ENV{'REMOTE_USER'} in php you should grab it as getenv('REMOTE_USER'), dunno about javascript or reg stuff tho.

foe 07-15-2002 11:01 AM

Quote:

Originally posted by CunnyFunt
The login name is passed as an environmental variable by the browser as: REMOTE_USER. In perl it's $ENV{'REMOTE_USER'} in php you should grab it as getenv('REMOTE_USER'), dunno about javascript or reg stuff tho.
wouldnt do it in javascript for security reasons, php/perl is the way to go, let me know if you are looking for programers


All times are GMT -7. The time now is 07:20 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123