You are here: Re: SVN over exec() « PHP Language « IT news, forums, messages
Re: SVN over exec()

Posted by Michael Fesser on 11/26/07 21:15

..oO(Adrian Nievergelt)

>I try to run a file which is essentially
>
> <?
> echo exec("svn info /somepath");
> ?>
>
>or alternatively
>
> <?
> echo exec("svn co --username=bla --password=blabla svn://someurl");
> ?>
>
>on the Webserver.
>
>The problem however is that that doesn't seem to have any effect. The
>page loads way too fast, shows no output whatsoever and the error_log's
>from apache are empty.

Does "no output" mean no text in the browser or an completely empty
result? Did you check the HTML source code?

>Does anyone have any experience on what to do in such a case, or even
>has had the same problem I have?

I would start with using <?php instead of <?. Then make sure the
error_reporting directive is set to E_ALL|E_STRICT in your php.ini.

Micha

 

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

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