[PHP] running cmd via php

2007-11-28 Thread adam_99
Hello! I'm trying a lot to find how I can run the cmd (command line of windows) and send to the cmd commands? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] running cmd via php

2007-11-28 Thread Jay Blanchard
[snip] I'm trying a lot to find how I can run the cmd (command line of windows) and send to the cmd commands? [/snip] On the server? http://www.php.net/exec -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] running cmd via php

2007-11-28 Thread adam_99
[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

Re: [PHP] running cmd via php

2007-11-28 Thread Daniel Brown
On Nov 28, 2007 3:28 PM, adam_99 <[EMAIL PROTECTED]> 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

Re: [PHP] running cmd via php

2007-11-28 Thread Jochem Maas
Daniel Brown wrote: > On Nov 28, 2007 3:28 PM, adam_99 <[EMAIL PROTECTED]> 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 Gene

Re: [PHP] running cmd via php

2007-12-11 Thread Tom Rogers
Hi, Thursday, November 29, 2007, 2:17:15 AM, you wrote: a> Hello! a> I'm trying a lot to find how I can run the cmd (command line of windows) and a> send to the cmd commands? a> Thanks. Here is one way to do it, its from a function to check php syntax. it opens up php then sends it the text to