PDA

View Full Version : PHP help please



Darknight
April 28th, 2007, 01:24
I am slowing gathering up good phpscripts to make a mega site
What I want to do is have a basic login system on each php script
The scripts I will be using will be very basic and like PHPproxy etc
all I want is to be able to add a halt if not logged in and make them login using a sesion or something
Any ideas?
I know I will have to mod the code from script to script but I think you get me lol :lol:
I forgot - I also would like to know if its possible to make a signup script and after they signup it will also make them a myBB account on the forums?
I need to know if its possible befor trying :p

tpnoc
April 28th, 2007, 02:16
You could modify the scripts so that they all use the same member table in mysql. I wouldn't really recommend running scripts that sync your databases or in your case duplicating the entries because it usually would not be easy on system load.

Darknight
April 28th, 2007, 04:42
I want to make 1 login script to manage everything the only thing that will have a differnt database wiill be the MyBB forums - all the other scri[pts are not login scripts yet
think of it like MS passport sytem I wanna make a system like that but not as advanced of course.

DarkBlood
April 28th, 2007, 07:58
You could use the Coppermine Gallery bridge files as a base.

tpnoc
April 28th, 2007, 15:23
You could probably make a very simple form to insert data into mysql and edit. Check out this site, it's got some simple tutorials you could use to get started:

http://www.php-mysql-tutorial.com/

d-j
April 28th, 2007, 18:10
It's dangerous if your login script not secure. I prefer to let myBB standalone and never touch the database, and make new database to main site :D

Hmm.... how about drupal?
they're best cms and have own forum, you need install the forum manually in the module, with 1-2 clicks.