what user are you running the command on the the command line, and what user
is php running it as? if you're root for the first one, but nobody on the
second, that would be your problem...
-jack
-----Original Message-----
From: Joseph Koenig [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 1:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] add to .htpasswd via php
I'm attempting to streamline my work by writing a script that will add a
user to the .htpasswd file. If echo the command I'm sending (via exec())
and run it on the command line, it works fine. From php though, it does
nothing. All paths are full paths starting at server level. Is there
anything that anyone is familiar with that would cause this to not work?
Thanks,
Joe
--
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]