You are here: Re: Running a system command from php « PHP Programming Language « IT news, forums, messages
Re: Running a system command from php

Posted by jsw_nz on 09/10/05 01:15

Thank you Peter, Paul and NC for your pointers. The space in the path
to the executable was causing the problems. I copied the application to
the root, eliminating any spaces in the path and it now works. So just
a couple of questions/observations

(1) Within the context of calling system commands....is this a general
problem, regardless of the application being called, ie....would I
encounter this in any and all calls using paths that contains spaces.

(2) Paul, you had mentioned that tryiing to escape the spaces in the
path names might help. Familiar with escaping...but not sure how you
would escape the space.

Anyway now works. This forum is great, thanks all for your timely
answers.

John

 

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

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