There are a number of online tools for creating the proper htaccess and htpasswd files for basic auth. Here's a couple (forget which one I used last time I needed it, both have 'visited' links in my browser): http://www.wmtips.com/tools/htpasswd-generator/ http://www.htaccesstools.com/htaccess-authentication/ They should be secure enough since they don't really know what site you're going to use them on, but apply whatever paranoia you're comfortable with to using such tools. -TG ----- Original Message ----- From: tedd <tedd@xxxxxxxxxxxx> To: PHP-General <php-general@xxxxxxxxxxxxx> Date: Wed, 14 Jan 2009 12:31:15 -0500 Subject: Basic Authentication > Hi gang: > > Let's say that I don't want to use the htpasswd command from the UNIX > shell to generate an encoded password -- how else can I create an > encoded password string that would work in a .htaccess file using > basic authentication? > > Cheers, > > tedd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php