You might want to forget the exec and write direct to the file as in this code gallery
item:
http://www.zend.com/codex.php?id=521&single=1
> From: Joseph Koenig [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 1:40 PM
> I'm attempting to streamline my work by writing a script that
>
t.
>
> - Original Message -
> From: "Jack Dempsey" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, May 02, 2001 10:44 AM
> Subject: RE: [PHP] add to .htpasswd via php
>
> > what user are you runnin
then try the command... Once that works, so
will your script.
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 10:44 AM
Subject: RE: [PHP] add to .htpasswd via php
&g
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, 20
4 matches
Mail list logo