Re: system() function
| From: | Tom | Date: | Fri, 01 Dec 2000 13:51:05 +0000 |
| Subject: | Re: system() function | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4221@lists.php.net to get a copy of this message | ||
Have you looked at the PHP web site function reference (www.php.net - quick ref)?
There's a lot of information here on both SYSTEM and the other associated commands which
you may also find useful - PASSTHRU and EXEC.
To precis though, you can use just about any console command that is available on the
server, just enclose it in the parentheses after the function name. To read from and
write to files, use the PHP functions FOPEN and FPUTS etc directly from the web file -
see Julie Meloni's site at www.thickbook.com for some good examples.
Tom
"Anna, Koula, Kathy Gatsis" wrote:
> I really need some information regarding the PHP system function. I am
> trying to finish off my project which is a Unix shell for a web browser and
> I only have a limited amount of Unix commands available to the user when
> they type in the desired command.
>
> Please tell me how I can use the system function in my project to read
> information in form the user, store it in a file and display it on the
> console/browser for the user to see! Or even any information regarding this
> function apart from the poor explanation in the manual.
> _____________________________________________________________________________________
> Get more from the Web. FREE MSN Explorer download :
> http://explorer.msn.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net