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
When your heart are gone
1 Votes
i want correct anwer code
0 Votes
Python question
2 Votes
Where do I find saved code?
1 Votes
I am a beginner here
1 Votes