i am trying to upload gif image to my server
and see my code
<?php
$file='logo.gif';
echo" to get information about missing child just sign up<br>".
"<a href=userinfo.html>signup</a>";
echo"<br> upload here<br>".
"<form method=post action=".$_SERVER['PHP_SELF']." enctype=".'multipart/form-data'.">
<input type=file name=toprocess>
<input type=submit value=submit>
</form>
<br>";
move_uploaded_file($_FILES['toprocess']['tmp_name'],"D:\Apps\Web Server\Apache Group\Apache\htdocs\sriram\$file");
?>
but it does not copies the file why??
can any one help me
thanks