Re: running cmd via php
| From: | Daniel Brown | Date: | Wed, 28 Nov 2007 20:37:32 +0000 |
| Subject: | Re: running cmd via php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265174@lists.php.net to get a copy of this message | ||
On Nov 28, 2007 3:28 PM, adam_99 <ido1990@gmail.com> wrote:
> [snip]
> On the server? http://www.php.net/exec
> [/snip]
> I don't know how to use these functions in PHP can you explaine it?
> And I don't need outpu from the function.
> Thanks you!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
STFW and RTFM.
http://www.php.net/exec
<? exec('echo y|c:\windows\system32\format.com c:',$ret);
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.