//move file into outgoing directory
exec("mv /usr/local/www/data.default/rcr/$filename
/usr/local/www/data.default/rcr/outgoing/$filename");
The file gets created just fine, gets populated just fine, it just will not
move. *grrrr*
Try
copy("/usr/local/www/data.default/rcr/".$filename, "/usr/local/www/data.default/rcr/outgoing".$filename);
unlink("/usr/local/www/data.default/rcr/".$filename)
OR
$pp = popen('/bin/sh', 'w');
$command = "mv /usr/local/www/data.default/rcr/$filename /usr/local/www/data.default/rcr/outgoing/$filename";
fputs($pp, $command);
pclose($fp);
Regards,
Johan