...

View Full Version : Decent size amount of help needed.



thesavior
02-18-2006, 12:55 AM
I would really like to create a script that allows someone to signup and the following will happen:

*For a forum script*

I have a master folder with all the files in it.

When a user signs up through a form, it will create a folder for them, and inside that folder, lets say have a config file, and a styles folder.

All of the files will referance the master folder, but use there configuration file for database connection, and there style folder.

How can i possibly do this?

Also, i want to have the most compact as possible way to make the tables for all of the forums. Should i just make the table prefix there unique board name or something like that?

Any ideas?

thesavior
02-19-2006, 06:11 PM
*bump*

dragon
02-20-2006, 03:30 AM
You can use the mkdir function (http://us2.php.net/manual/en/function.mkdir.php) to create the folder that you need and then fopen (http://us2.php.net/manual/en/function.fopen.php) to can be used to create any files that you need.

thesavior
02-20-2006, 04:39 AM
yes, well that doesn't answer my question about calling a master set of files, and using some local files, and how to run the database.

thesavior
02-21-2006, 06:06 AM
*bump*

_Aerospace_Eng_
02-21-2006, 06:23 AM
Quit bumping. The things you are asking to be done can't really be explained in a single thread. You need to either hire out and actually work with someone or learn how to do the things you want yourself.

thesavior
02-23-2006, 07:07 AM
why would this be so difficult? It seems like one thing that im missing, or something that you could do with an htaccess file that would make everything work.

missing-score
02-23-2006, 07:09 AM
why would this be so difficult? It seems like one thing that im missing, or something that you could do with an htaccess file that would make everything work.
try it then... from what I read AND your thread title, you are asking alot...

thesavior
02-23-2006, 02:28 PM
i would try it if i knew where to start. I just need ideas on linking to the master folder, and how to create the database.

ralph l mayo
02-23-2006, 03:53 PM
You can create a unique folder for your users if you name them using md5(their name + some string that is always the same)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum