you can easily just run a system call to get this working.
try something like:
<?php
$fileToCopy = $PASSED_file;
system("scp $fileToCopy user@host:/path/to/$fileToCopy");
?>
One problem here is that SCP prompts you for a password. A workaround is to use something called "skeygen". Run it as whatever user on both boxes. Then do this:
scp ~/.ssh/authorized_keys user@host:/your/home/dir/.ssh/
Once you copy over the authorized_keys file from the server to the place where the files are going... you should be all set. 'scp' will just run.
Rob