Hi,
I've solved that this way (I didn't find a plugin),
Install the ExecPHP-Plugin, and the Role Manager Plugin, create a page for Registered Users.
Put this HTML code in there:
<form enctype="multipart/form-data" action="uploader.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
Datei auswählen: <input name="uploadedfile" type="file" />
<input type="submit" value="Upload" />
</form>
create a directory in your wordpress root directory called
"uploader"
create uploader.php within the wordpress dir containing:
<?php
$target_path = "uploader/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path))
header("Location: http://somewhere.com/success.php"); // where you want to go after succeeded upload
else
header("Location: http://somewhere.com/error.php"); // where you want to go after failed upload
?>
That's only an example for a very easy upload form, but I wouldn't recommend any uploads at all, because security reasons.
Best Regards,
Kay
http://webjunkie.de.ms