Here are a few references to help you out with PHP.
Create a directory for each user
http://us2.php.net/manual/en/function.mkdir.php
Adjusting File/Folder Permissions with PHP
http://us.php.net/manual/en/function.chmod.php
PHP File Uploading
==================
HTML Form
<form enctype="multipart/form-data" action="uploader.php"
method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
Choose a file to upload: <input name="uploadedfile" type="file" /><br /
>
<input type="submit" value="Upload File" />
</form>
PHP Code
<?
$target_path = "uploads/";
$target_path = $target_path . basename( $_FILES['uploadedfile']
['name']);
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'],
$target_path)) {
echo "The file ". basename( $_FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
?>
That's the basic of file uploading, that should get you started in the
right direction!
Hey Scott,
Thanks for the kind words, but the script does generate a list for the
SWF slideshow. You may have renamed images.php if you did that might
be why it's not working correctly. Otherwise it should be easy to use,
just drop it in and go.
If you want your users to upload content then you need a php upload
script, and have them upload images to the slideshow directory.
If I was going to use dynamic flash in a community environment, I
would probably setup a folder per member, so each member has their own
slideshow folder to add images to.
http://domain.com/members/scott/slideshow/
Sometime in the future I plan on adding the source FLA files to the
project. Hope that helps.