Actually,

I found out this
By executing what you mentioned earlier:
ls -l
the path I get for htpasswd is...
usr/local/apache/utils

I have then tried in my PHP code

$go = "/user/local/apache/utils/htpasswd -b users/domain/.htpasswd abc
pass";
passthru ("$go");

Still no luck.




"MaD dUCK" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> also sprach YoBro (on Fri, 18 May 2001 10:45:12AM +1200):
> > If I try su nobody it asks for nobody's password. If i enter no
> > password a I get Authentication denied.
>
> you aren't root.
>
> can you give me an output of 'ls -l <path/to/.htpasswdfile>'
>
> martin;              (greetings from the heart of the sun.)
>   \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
> --
> printer not ready.
> could be a fatal error.
> have a pen handy?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to