You are here: execute bash command with php script « PHP Language « IT news, forums, messages
execute bash command with php script

Posted by Steve Turnbull on 10/11/64 11:19

Hi

Could someone tell me how to execute a linux shell command with PHP? I am
using PHP as a bash script and want to issue the command;

convert -sample 25%x25% $img thumb.$img

It is just a simple script to convert jpg's into thumbnails and I am more
at home with PHP than bash...

Thanks
Steve

 

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

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