PERL And PHP Help

They have: 29 posts

Joined: May 1999

Hello,
I need a way to incorporate a .htaccess type popup box with useranme and password fields into a directory I have.

Additionally, I need a way to use the username they login successfully with in my index.cgi file that I use in the directory.

Is there any way to do this using PERL? Ihear it is possble using PHP, but I know nothing of PHP. I would really appreciaite any help someone could give, and I will pay a fair price.

Thankyou
Sean Maday
[email protected]

They have: 69 posts

Joined: Apr 1999

1) Look in http://www.cgi-resources.com/ on the documentation category for some .htaccess directory protection tutorials.

2) Yes, you can use the remote username within perl, it's located in the enviromental variable 'REMOTE_USER' ($ENV{'REMOTE_USER'}). Note that in some servers it may be 'AUTH_USER', instead.

------------------
[ Web-Reviews ]
http://www.web-reviews.com/

They have: 29 posts

Joined: May 1999

Thankyou So Much! Everyone else that I aksed told me that there was no such way!!I owe you greatly!!

Thanks Again
Sean Maday

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.