hi.. the code i am using for uploading is working fine few days back.. now giving some errors.. please solve it
<form action="up1.php" method="post" enctype="multipart/form-data">
<input type="file" name="up" />
<input type="submit" value="submit"/>
</form>
php
<?php
$up=$_FILES['up']['name'];
copy($_FILES['up']['tmp_name'],"upload"."/".$up)
?>
where upload is a folder in which all the uploaded files are stored
Error - - Warning: copy(): Filename cannot be empty in C:\xampp\htdocs\copy\up1.php on line 3
where is the mess ???