View Single Post
Old 2007-01-28, 03:21 PM   #3
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
HTML:
Code:
<form method="post" enctype="multipart/form-data">
<input name="uploadedfile" type="file">
<input type="submit" name="submit" value="Upload">
</form>
Some php code to deal with the input:
Code:
    if (!(file_exists($_FILES['uploadedfile']['tmp_name']))) {
      $error .= "Please try again, I didn't get a file. ";
    } else {
       // do something with the file
    }
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote