TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Advanced PHP Programming (http://www.talkphp.com/advanced-php-programming/)
-   -   Displaying Subversion Files (http://www.talkphp.com/advanced-php-programming/4487-displaying-subversion-files.html)

Ryzie 06-06-2009 12:07 PM

Displaying Subversion Files
 
Hey guys,

I've been working with PHP for a little over 3 years now, but this one has completely stumped me. I am trying to create a code, that will display the content of a subversion directory.

I'm pretty sure WebSVN (an svn viewer) uses "exec()" but I'm not having much luck.

If anyone can help me out, that would be greatly appreciated.

Thanks in advance,
Ryzie.

xenon 06-06-2009 05:14 PM

...I don't get it...why don't you just read the directory?

http://www.php.net/manual/en/function.opendir.php
http://www.php.net/manual/en/function.readdir.php
http://www.php.net/manual/en/function.closedir.php

Ryzie 06-06-2009 05:15 PM

Because my clients want to be able to enter their SVN directory, and view their files via a web page.

Opendir doesn't work remotely.

Thanks,
Ryan

xenon 06-06-2009 05:20 PM

Well then, that changes the situation...there you go: http://www.php.net/svn

Ryzie 06-06-2009 05:25 PM

I had a look at that, but I beleive that has to be pre-installed onto the server.
If people want to download this project I'm working on, I was hoping they wouldn't have to install any other things.
WebSVN managed to work it out, which I am currently looking over, slowly.

Thanks,
Ryan


All times are GMT. The time now is 06:27 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0