Page 1 of 1

Basic SVN client in PHP

Posted: Mon Jun 09, 2008 6:13 am
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.