You are here: exec() Silent Death « All PHP « IT news, forums, messages
exec() Silent Death

Posted by ashore on 05/06/07 14:24

Under Win32/Vista, PHP 5, I have a batch of files to convert and I'm
trying to script that in PHP.

The line below fails silently - while the hand-entered version (sans
the escapes of course) works correctly. I've tried system() and added
an output parameter to the exec() call, but the silence remains.

exec ("C:\\Program Files\\FWTools\\ogr2ogr-f \"MapInfo File\" f:\
\out2.mif f:\\tgr24001\\tgr24001cty00.shp");

Ideas on how to troubleshoot this are most welcome. --AS

 

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

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