Currently I\'m writing out files with php into a directory, I add that directory (works fine), then when i try and do an svn commit its not working nor returning any kind of err
Can you try throwing out the errors (read Mike's comment) status.
('cd '.$this->build_locations[$this->type].'; svn commit --username user --password pw; ls', $output, $error);
if($error){
print_r($error);
}
I would suggest to break the above into 3 separate commands for debugging purpose.
Also, if $this-type can be manipulated by the users, then your code is vulnerable as they can pass something like: .; cat /etc/passwd
, which becomes
$tmp = exec('cd .; cat /etc/passwd; svn commit --username user --password pw; ls', $output);