File uploads and handling

From: Date: Tue, 26 Oct 2004 03:45:10 +0000
Subject: File uploads and handling
Groups: php.general 
Request: Send a blank email to php-general+get-200313@lists.php.net to get a copy of this message
Hi all. I have a form to upload a file from a user's computer to the server. I want to then modify the file, and then let the user save it back. However, I am having troubles opening the file. It says it doesn't exist. Any suggestions? ------- if (is_uploaded_file($_FILES['userfile']['name']))
    $handle = fopen($_FILES['userfile']['name'], "r");
else
    echo $filename . " was not uploaded properly";
------- I know the actual filename shows up... but somehow it's not uploading. Ideas? ~Philip

« previous php.general (#200313) next »