No if it works use it, but if you choose to go with system() you will need
to pass the command through escapeshellcmd() as a security precaution.
Adam
On Tue, 12 Nov 2002, Greg wrote:
> exec() worked jsut fine. Is there any drawback to using this?
> -Greg
>
> "Adam Willi
exec() worked jsut fine. Is there any drawback to using this?
-Greg
"Adam Williams" <[EMAIL PROTECTED]> wrote in message
news:Pine.LNX.4.33L2.0211121138370.5968-10@;roark.mdah.state.ms.us...
> actually, look up system() I think it would be better in your case.
>
> Adam
>
> On Tue, 12 Nov 2002
actually, look up system() I think it would be better in your case.
Adam
On Tue, 12 Nov 2002, Greg wrote:
> Hi-
> Is there a way in PHP to execute a program and then have it pass its output
> back to PHP? Say I wanted to return the value that running "df" produced
> and
look up exec()
Adam
On Tue, 12 Nov 2002, Greg wrote:
> Hi-
> Is there a way in PHP to execute a program and then have it pass its output
> back to PHP? Say I wanted to return the value that running "df" produced
> and put it in a web page? Thanks!!
> -Greg
>
>
>
>
--
4 matches
Mail list logo