View Single Post
Old 02-10-2003, 01:36 PM   #9 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
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.
joe_bruin is offline   Reply With Quote