I have been successful encypting a string into a password for .htaccess with Perl using:
crypt($strPassword, reverse scalar time);
I cannot get this, though, in PHP.
Anybody?
That's what the htpasswd utlility is for.
I don't have telnet access to the site...
Then use exec() or system() or backticks