Cainiao asks, how to use php to checkout from svn or cvs, such as a known address, user name, and password, how to use php to implement the svn or cvs checkout function has been tried to execute the svncheckout command with shell_exec, it seems useless ------ solution ------------------ download tortoisewin32svn in windows. after msi is installed, Cainiao asks you how to use php to checkout from svn or cvs.
Example
How to use php to implement the checkout function of svn or cvs when the address, user name, and password are known
I have tried to run the svn checkout command with shell_exec, and it seems useless.
------ Solution --------------------
In windows, download tortoisewin32svn. msi and right-click it and select checkout.
------ Solution --------------------
Php provides the svn interface, but you need to install and expand it separately. the next online php_svn.dll
Then use this function:
Bool svn_checkout (string $ repos, string $ targetpath [, int $ revision [, int $ flags = 0])
------ Solution --------------------
Reference the post of qiusong1983:
Example
How to use php to implement the checkout function of svn or cvs when the address, user name, and password are known
I have tried to run the svn checkout command with shell_exec, and it seems useless.
------ Solution --------------------
Php svn functions:
Http://php.mirror.camelnetwork.com/manual/en/ref.svn.php
For CVS, lz should look at this:
Http://sourceforge.net/projects/phpcvsview