Changeset 4783 for extensions/upload_form/upload.php
- Timestamp:
- Jan 28, 2010, 10:01:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/upload_form/upload.php
r4740 r4783 51 51 { 52 52 $source_filepath = $_FILES['image_upload']['tmp_name'][$idx]; 53 $ name = $_FILES['image_upload']['name'][$idx];54 add_uploaded_file($source_filepath, $ name, array($_POST['category']));53 $original_filename = $_FILES['image_upload']['name'][$idx]; 54 add_uploaded_file($source_filepath, $original_filename, array($_POST['category'])); 55 55 } 56 56 }
Note: See TracChangeset
for help on using the changeset viewer.