thanks so much...i`ve asked in about 4 or 5 forums, and you gave the best help...till now
On the same server will be:
- Index.html (My Homepage including the form for the upload)
- If needed a uploader.php (or something like this (Yes, its located on the same server, where files will be uploaded!))
- a folder called "Uploads" (the uploaded files, (only PNG, Jpeg, and Gif) should be in there!)
I think thats all on information i think...(Max Size should be 4mb)
Oh, wait...
In a tutorial on how to write this script, i read that a file, that has been uploaded to my server, will be deleted if its not moved to another folder...
Could you please write the script so, that the files will be moved directly to another folder on my server (name doesnt matter)
any questions? (PLZZZ HELP ME!)
€dit:
Oh yes, and a form like this would be cool...(or exactly this, change only allowed size to 4mb and allowed format to jpg, png and gif)
----------------------------------------
<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>
----------------------------------------