You are here: Re: [PHP] shell expansion (globbing) from inside php cli script « PHP « IT news, forums, messages
Re: [PHP] shell expansion (globbing) from inside php cli script

Posted by Jasper Bryant-Greene on 06/28/05 03:51

Brian V Bonini wrote:
>>> I can echo out the command and get a well formed command, i.e.
>>> one that will execute from a command prompt, but when I try to
>>> exec() $cmd from within the script the globbing is taken
>>> literally.

Try shell_exec(). I don't think exec() goes via the shell.

 

Navigation:

[Reply to this 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

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