View Full Version : Need help with a script
boardpix
06-06-03, 10:11 PM
Just want to say hey to everyone - I just joined.
I'm looking for a php script (preferably free) in which people can come to the site and register a username. Upon registering, the script creates a directory in a specified area of the site, and that directory is named the user's login name. When the user returns to the site and logs in, he can go to an upload page which will upload files to his/her directory. I've been searching for this script, but perhaps I'm searching in the wrong way. I found THIS SCRIPT (http://www.seattleserver.com/httpfs.htm) but I had problems installing it and I am not 100% sure it is what I am looking for. I am posative these scripts exist, but I have had no luck finding one. If anyone has any experience with that linked script or knows of a script that fits the description I gave above, I'd appreciate it.
-boardpix
Basically what you need is to integrate a user registration system with a file manager. I suppose this will work to offer free web hosting to your users where they'll upload their website.
I've taken a look at that site you just posted. It seems that it does exactly what you need. However you said you had problems installing it. You could try telling us your problem and we'll see what we can do.
I always promote the DO-YOUR-OWN-SHITE mentality. I was a real nOOb up to 2 months ago, now i consider myself as an intermediate. You learn by experimenting not buy getting ready-made script. Of course, ready-made scripts help the community it so many ways...Example : No Time To Code, Don't Want To Code, Don't know how to code something specific, so you download a script that does what you want, study it and continue your work. But anywayz... It's really not that hard to make that kind of system you want.
Chris Boulton
06-07-03, 05:25 AM
You may want to have a look here: http://www.hotscripts.com/PHP/Scripts_and_Programs/Web_Hosting_Tools/index.html
There are alot of tools avaliable which can offer hosting to your users..
You also may want to check out the Perl/CGI scripts section, i know there are alot more options there..
Daniel Bahl
06-07-03, 07:38 AM
http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/index.html
relledge
06-07-03, 03:09 PM
Make sure that you consider security when choosing which script to use for this. The last thing you want is for your site to become insecure because you're giving people the ability to upload via HTTP.
TheGreatOne
06-07-03, 03:12 PM
I have seen a mod for invisionboard for this someone on the net. I am sure if you visit http://mods.ibplanet.com/ i am sure you could find it. :)
Chris Boulton
06-07-03, 08:04 PM
Another one of my experiences :rolleyes:
I started a small free webhosting company a while back as well, except i went a step further and had no banners on users sites, gave them subdomains, as well as ftp, and perl and cgi access.
Little did i know, this was a bad mistake..before long the address was posted on freewebspace.net and i soon had a million signuips..that was ok for a week... before service abusers came along and started uploading illegal files and started to try and hack the server using lame scripting techniques.
So just my little bit, before you consider offering hosting, you should check if its really worth it with all the bad things that could happen.. You should also do this on a dedicated server so you have full control over the server, and can set permissions per linux user so its more secure..
Chris :)
boardpix
06-09-03, 12:37 AM
Thanks for the input guys. By the way, my site is nothing like what it will be. I basically use it to test things out, but it's nothing near the real deal (if you check it out, disregard everything on the site). I'm not planning on giving users web space for just anything. The users will be able to upload images only, and each person's folder will max out at say 5 mb. What I'm basically doing is setting up an image gallery that is integrated with flash, and it loads folder names and images. About security...I can get a dedicated IP, and I'll try to read more into the scripts about security.
In response to Damian, I know HTML and flash well, but I really don't know how to write php, cgi, etc. I only know how to implement them, and I don't plan on leanring them.
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.