note 92742 rejected from function.is-uploaded-file by danbrown

From: Date: Thu, 06 Aug 2009 20:19:44 +0000
Subject: note 92742 rejected from function.is-uploaded-file by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159165@lists.php.net to get a copy of this message
Note Submitter: authentic_01 at HOTMAIL dot COM ---- Hello, I am trying to create an upload page for users to upload images. Below is what was created I must say I am not experience in this error and need help. Also if anyone has a better way of writing this so I can understand please do. Thanks in advance!! <?php // Add security here move_uploaded_file($_FILES['Filedata']['tmp_name'], getcwd() . "./uploads/".$_FILES['Filedata']['name']); chmod(getcwd() . "uploads/".$_FILES['Filedata']['name'], 0755); The problem i'm getting is that when i try to upload i can't see an image on the screen or in the file folder indicated.

« previous php.notes (#159165) next »