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
C pointers
1 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
Front-end vs Full-stack
1 Votes
HTML
0 Votes