Q&A Discussões
How to take input in php
8 Votos
3 RespostasComments
-1 Voto
1 Respostahtml 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 Voto
5 RespostasQuente hoje
Help in code
6 Votes
Test Case 3 & 4 Failed.
1 Votes
Frameworks?
2 Votes
New Courses
0 Votes
Input emojis and stickers
0 Votes
what course should I take first
0 Votes