index.php
<form method="post" action="process.php" > Firstname: <input type="text" name="firstname" /> <br /> Lastname: <input type="text" name="lastname" /> <br /> Description: <textarea name="description" rows="10" cols="50"></textarea> <br /> File Upload: <input type="file" name="upload" /><br /> Preview: <img src="#" /> <br /> <hr /> <input type="submit" name="submit" value="Submit" /> </form>
process.php
$data = array( "post" => $_POST, "files" => $_FILES);echo "<pre>";// echo json_encode($data);var_dump($data);
Demorepl.it
Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse