Reply to Re: shell_exec not working on Win2K3

Your name:

Reply:


Posted by Good Man on 02/03/06 19:56

"jonathan.beckett" <jonathan.beckett@gmail.com> wrote in
news:1138970152.834117.49630@o13g2000cwo.googlegroups.com:

> Hi all,
>
> We have PHP 4 installed on Windows 2003 with Apache 2, and the
> shell_exec has mysteriously stopped working - it hangs the page rather
> then returning anything.

hi

try using backticks:

ln 1:$myCommand = "some code that will do things on the server";
ln 2:`$myCommand`;

instead of
ln 2:shell_exec($myCommand);


the backtick thing has worked for me in all instances where shell_exec,
exec have not.

[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

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