Reply to Re: PHP and running DOS bat files and capture console

Your name:

Reply:


Posted by ZabMilenko on 10/06/06 08:27

Use the backtick operators (next to the 1 key under the ESC key) like so:

$output = `command.bat`;


IchBin wrote:
> I have no problem doing this in Java. I am new to PHP. How do you, using
> a PHP script, run a windows DOS.bat file and capture all of its console
> for further processing?
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация