script for automatic username and password authentication.

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
carlhoell
Forum Newbie
Posts: 4
Joined: Fri Mar 31, 2006 7:45 am

script for automatic username and password authentication.

Post by carlhoell »

Hi everyone,

Are there any perl scripts available that can listen to 401 authentication ,sent by an linux apache server using htaccess, on the client web-application so that it can automtically send username and password to the htaccess for acceptance? The client also comes from another web-application.

thanks.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

I don't know about Perl, but PHP has hooks into HTTP authentication. It doesn't use .htaccess files per se, but it does appear indistiguishable from .htaccess files to the user. Search the PHP manual for 'HTTP authentication'.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply