Basic SVN client in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sbutt
Forum Newbie
Posts: 11
Joined: Mon Jun 09, 2008 5:59 am

Basic SVN client in PHP

Post by sbutt »

Hi All,
I'm new to php development and need some help. Actually, I have an SVN repository and i want to build a basic SVN web client that should just checkout/export modules.

I have tested my SVN repository by checking out my SVN module through putty console and it works fine. Now i want to do the same through a php interface with some textfield for SVN repository URL and 2 buttons for checkout and export.

My problem is how can i give the svn commands in php and secondly how can i tell my svn client to use a particular machine as a destination for the svn module? Currently, in a shell environment I logged onto a machine and gave the svn commands and the module was downloaded there, but incase of php web interface how can i mention abt my destination machine?

A small code snippet example or some reference shall highlly be appreciated.

--
Regards sb.
Post Reply