TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-06-2009, 12:07 PM   #1 (permalink)
The Wanderer
 
Ryzie's Avatar
 
Join Date: Jun 2009
Location: Perth, Australia
Posts: 10
Thanks: 0
Ryzie is on a distinguished road
Wink 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.
Send a message via Skype™ to Ryzie
Ryzie is offline  
Reply With Quote
Old 06-06-2009, 05:14 PM   #2 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

...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
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 06-06-2009, 05:15 PM   #3 (permalink)
The Wanderer
 
Ryzie's Avatar
 
Join Date: Jun 2009
Location: Perth, Australia
Posts: 10
Thanks: 0
Ryzie is on a distinguished road
Default

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
Send a message via Skype™ to Ryzie
Ryzie is offline  
Reply With Quote
Old 06-06-2009, 05:20 PM   #4 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Well then, that changes the situation...there you go: http://www.php.net/svn
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 06-06-2009, 05:25 PM   #5 (permalink)
The Wanderer
 
Ryzie's Avatar
 
Join Date: Jun 2009
Location: Perth, Australia
Posts: 10
Thanks: 0
Ryzie is on a distinguished road
Default

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
Send a message via Skype™ to Ryzie
Ryzie is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
setup subversion at webhost planepixel General 0 02-06-2009 07:32 PM
Retrieving Files from a Backup in Vista CMellor The Lounge 2 06-24-2008 02:34 PM
Kidnapping files via URLs with cURL :) EyeDentify The Lounge 2 05-10-2008 09:03 AM
Notepage like application to open large MySQL files Wildhoney General 6 12-07-2007 02:18 PM
Uploading Files with PHP daz Absolute Beginners 3 09-30-2007 06:23 PM


All times are GMT. The time now is 12:00 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design