Discussions Q&R
What is <form action="">
2 Votes
3 RéponsesForm action and input.
1 Vote
7 Réponseshtml 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 Vote
5 RéponsesAujourd'hui en vedette
API
0 Votes
General Inquiry
0 Votes
how to be good at coding
1 Votes
Help for roadmap
0 Votes
Sockets, etc
0 Votes