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.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to