Re: How do I make the PHP script for fdisc?
| From: | Jason Wong | Date: | Mon, 04 Mar 2002 08:52:41 +0000 |
| Subject: | Re: How do I make the PHP script for fdisc? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87056@lists.php.net to get a copy of this message | ||
On Sunday 03 March 2002 22:09, GENESiS DESiGNS wrote:
> Hello,
>
> I have a web form that allows someone to fdisc there drive C:\ but how to I
> make the PHP script to run that?
>
> By the way, I'm not using this to make someone real mad, I'm just curious
> and I will NOT put this script on the net, just on my local machine.
I'll assume you mean fdisk. You do realise that the fdisk command will be
executed on the machine that the webserver is running on? Plus the MS-DOS
fdisk command is interactive so it wouldn't do much good running it from a
web page.
If you want to run system commands in general then look at "Program Execution
functions".
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Bondage maybe, discipline never!
-- T.K.
*/