Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<input type="file" name="uploadfile" />
$_FILES['uploadfile']['name']
$_FILES['uploadedfile']['name']
print_r($_FILES['uploadedfile']['name']);
<form enctype="multipart/form-data" method="POST" action="...">
<input type="file" name="uploadfile" />
</form>
<?php
echo '<form action="test2.php" method="post" enctype="multipart/form-data"> <br />'; ?>
<input type="hidden" name="MAX_FILE_SIZE" value="1000000" />
<input type="file" name="plaatje"> <br />
<?php
echo '<input type="submit" value="Invoeren">';
?>
<?php
print_r($_POST);
echo "<br/>";
echo $_FILES[plaatje][name] . '<br/>';
echo $_FILES['plaatje']['name'];
?>
Array ( [MAX_FILE_SIZE] => 1000000 )
crash.JPG
crash.JPG
$sql="INSERT INTO occasion (occasion_name, occasion_short_description, occasion_long_description, occasion_price, occasion_picture, occasion_picture_medium)
VALUES
('$_POST[artikel]', '$_POST[korte_omschrijving]', '$_POST[uitgebreide_omschrijving]', '$_POST[prijs]', $_FILES[plaatje][name], '$_FILES[plaatje_m][name]')";
$sql="INSERT INTO occasion (occasion_name, occasion_short_description, occasion_long_description, occasion_price, occasion_picture, occasion_picture_medium)
VALUES
('$_POST[artikel]', '$_POST[korte_omschrijving]', '$_POST[uitgebreide_omschrijving]', '$_POST[prijs]', '" . $_FILES[plaatje][name] . "', '" .$_FILES[plaatje_m][name]. "')";