Q&A Discussions
html page
<form action="upload.PHP" enctype="multipart/form-data" method="post">
<input type =file name=kk>
<input type=submit>
</submit>
PHP page
upload.PHP
<?PHP
$file=trim($_FILES['kk']['name'];
if(move_uploaded_file($_FILES['kk']['temp_name'],$folder.$file))
{
echo"<h1>file uploaded";
}
else{echo"<h1>not";}
?>
0 Votes
5 AnswersHot today
Decorators in python.
2 Votes
Need help
1 Votes
How to install Bcrypt here
1 Votes
What is happening with sololearn
1 Votes
Please click me
0 Votes
How to start coding
0 Votes
Programming language learning
0 Votes