try:
PHP Code:
<?
move_uploaded_file($_FILES['userfile']['tmp_name'], "$destination/".$_FILES['userfile']['name']);
?>
and make sure the destination directory is writeable by whichever user the php script is being executed as (probably 'nobody'). also, make destination an absolute pathname, just to be sure.