Quote:
|
Originally Posted by mikem
I got it working. At least the first one specified in this post.
Try changing in theform.php
Line 44:
Code:
<form method=\"POST\" action=\"$PHP_SELF?upload=doupload\" enctype=\"multipart/form-data\">
to this
Code:
<form method=\"POST\" action=\"modules/Uploader/theform.php?upload=doupload\" enctype=\"multipart/form-data\">
Also make sure you set your Absolute path to the uploads fodler in the config.php. I am using it as a Module. I created a folder in my Modules folder called Uploader. Then placed the language, uploads directories and three files in the Uploader folder. The line I posted above wil only work if you do the same as I did and make a folder in your modules folder called Uploader. OR change to correspond with what you want to call it.
Unfotunatley, I don't see the point of this MOD. Great, I can upload a file to my server, but what then? There is also no return link on the File upload confirmation page. I had to hardcode a link back to my index page once you submit your file so the user can get the heck out of there :?
|
hey mike! i didnt post my topic in 302093 forums this time! hehe j/k
thanx for adding that line, im gonna try it out.
The mod is useful to me personally because my site consists of user uploaded pictures of just your everyday hot girls (no porn or anything like that... just pretty girls)
BUT i would like to filter out files that people upload and then run them throught he script 'gallery' (u probably know what that is im assuming) so i can have differnet albums specfically for different surfers who upload lots of content.
Anyways this script/mod/halfass thing is my first time attempting at even touching PHP and was made from combining 2 other scripts as well as looking @ how other people coded things to get my desired results.
maybe you can find some use for it?