Nope, can't get that to work.
Any more suggestions?

----- Original Message -----
From: "val petruchek" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Saturday, February 02, 2002 8:58 PM
Subject: Re: [PHP] Parsing commands to a program


> > Hello,
> >
> > I was wondering, how would I pass commands to a program and print the
> > results on my screen?
> > For instance, to add an FTP user the command would be:
> > "pure-pw useradd joeblow -u ftpuser -d /home/joeblow"
> > How would I make a php script do that and display it's output when it's
> > done?
> >
>
>
> Try
> <?php
> echo `pure-pw useradd joeblow -u ftpuser -d /home/joeblow`; //not quotes
by
> ticks!
> ?>
>
> but not sure about security allows u to do it
>
> Valentin Petruchek (aki Zliy Pes)
> Cut the beginning
> http://zliypes.com.ua
> mailto:[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]
>
>



-- 
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