Dyskusje Q&A
How to take input in php
8 głosów
3 odpowiedziComments
-1 Głos
1 Odpowiedź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 głosów
5 odpowiedziPopularne dzisiaj
Ejercicio Pytho
0 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes
Square Roots
0 Votes