You are here: Re: Problems starting a console application though PHP « PHP Programming Language « IT news, forums, messages
Re: Problems starting a console application though PHP

Posted by Csaba Gabor on 07/04/06 12:10

m.sorana@schiketanz.at wrote:
> Hi to everyone!
>
> I have an Apache Webserver running on Win2000.
> I try to start a console application an the server though PHP, with the
> functions exec() or passthru() but it doesn't work.
> The application starts though, but doesn't work in the same way I would
> start it local on the web server (I mean though a "normal doubleclick").
>
> I think it depends on the type of application, cause I ca start with PHP for
> example other programms and they work fine!!
>
> Before I write about the specifications of my console application, I have
> this question:
>
> What are the technical differences between starting an application through
> PHP and starting it local on the machine???

Maria,

There are several differences between them, some major ones being
environment variables, exit status, and visibility. So before I write
about the specifics of your problem, I have this question:

What is the specific code that isn't working, and how do you know the
application starts, and if it starts, what does it mean for it not to
work? Please be detailed and specific.

Csaba Gabor from Vienna

 

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

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