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
ay 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
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 th
5 matches
Mail list logo