|
|
|
#7 |
|
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
Generally, I would do something like
Code:
<?php
if (!(file_exists($_FILES['uploadedfile']['tmp_name']))) {
$error .= "Please try again, I didn't get a file. ";
} else {
// do something with the file
header("Location: /thanks_for_your_upload.html");
exit;
}
?>
Upload your file:
<form method="post" enctype="multipart/form-data">
<input name="uploadedfile" type="file">
<input type="submit" name="submit" value="Upload">
</form>
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|