Simple SVN checkout using PHP
Monday, November 10th, 2008 - 5:55 pm - Life
$username = "username";
$password = "password";
$repository = "http://google-web-toolkit.googlecode.com/svn/trunk/";
$destination = 'your/full/path';
$checkout = "svn export --force --username $username --password $password $repository $destination";
$result = _exec($checkout);
function _exec($cmd)
{
if (substr(php_uname(), 0, 7) == "Windows") {
pclose(popen("start /B ". $cmd, "r"));
} else {
exec($cmd . " > /dev/null &");
}
}
Yea, but what to do if your host is not supporting PHP exec()?
If u have any idea, drop me a line plz 
Nice site btw
Regards
this is not a checkout but an export…
It’s not realy the same thing.