Reply to Re: exec() in the background

Your name:

Reply:


Posted by J.O. Aho on 02/14/06 21:16

MS wrote:
>>> What you put in between the single/double quotes depends on what you want
> to
>>> do, and parameters for the console command depends which one you use, for
> more
>>> info there you will need to use the manual page: man <command>
>
>
> So... Let me get this straight.....
>
> the parameters within the () of exec() are what you would use in the PHP
> command line console?

Yes, it what you would do at your shell prompt.
eg: php phpscript.php

If you want to give a option to the command from a PHP variable, use double quotes

exec("php $scriptname");



//Aho

[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

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