I fixed this on my website "uploader" page using PHP. I used to get the message
"Warning: move_uploaded_file() [function. move-uploaded-file]: Unable to move '/tmp/phph1OR9U' to '. /files/
filename.
extension in <filepath>. php on line <number>"
The trick is to make sure to use a relative path to your ftp directory. The easiest way to check the path name is to upload something to the ftp directory through cPanel file manager. It will show a path like: "/home/<username>/public_ftp/incoming/" ...or whatever folder you have set up. I believe the problem lies in the difference in PHP 4 to PHP 5.2.11 (which HostPapa uses). The path is not exactly absolute. Make sure the PHP file AND any HTML files match pathnames, and don't forget to set permissions in the receiving folder to "777". You can do this using an FTP uploader (ie SmartFTP or FileZilla) or in cPanel.
Hope that helps someone! I submitted a ticket, but I figured it out before support could.
