Ok, so here’s what I’ve got (more or less) for the file-upload form:
[code=html]
<tr>
<td><input type=”text” name=”title_new” /></td>
<td colspan=”2″><input name=”file_new” type=”file” class=”file” /></td>
<td><select name=”category_new”>
<option value=”1″>Category 1</option>
<option value=”2″>Category 2</option>
<option value=”3″>Category 3</option>
</select></td>
<td class=”boxed”><input type=”checkbox” name=”show_new” value=”1″ /></td>
<td class=”boxed”><input type=”checkbox” name=”delete_new” value=”please” onClick=”return confirm(‘Are you sure you want to cancel this file upload?’)” /></td>
</tr>
That’s for the “add new” area… There is also a “delete” checkbox for the list of existing files… pretty much the same as the “cancel” checkbox here.
I cannot seem to get a file-uploader to work… at all.
The target-directory is called “docs” and that folder is sitting in the same directory as this page (so it’s just “docs/” from where I’m at)
I need it to check if filenames already exist and add something to the end of it so the filename is unique…
and I need it to delete files from the server if the delete button is selected for it. I can isolate the one that needs to be removed, I just don’t know how to remove it.
Any help would be greatly appreciated… Feel free to ask questions if you need more clarification. I’m sure my request is as clear as mud.