Обсуждения
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 голосов
5 ответовАктуальное сегодня
Activities on sololearn
6 Votes
Html issue
2 Votes
Can you help me ?
1 Votes
Code coach
1 Votes
What am I doing wring?
1 Votes
Computer architecture
1 Votes
App development 🔥☝️
1 Votes
Playground input
1 Votes