PHP/MYSQL problem

All about creating websites!
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

First you have to create a new Database for the guestbook

goto http://localhost/phpmyadmin/

then in the text window "create new database" you write the name of the DB, name it "alex" or whetever (let the next window "collation" be) now you press create and an empty DB should be created with the name Alex.

Now you enter your Guestbook folder through your browser and it should ask you to enter the setup script. Enter the setup script and enter the following

Database type: Mysql

Host: Localhost

Användare: root

Lösenord:

Databasens namn: alex

the rest of the windows that already has something written in it you can let be. Enter the others as you please.


Press "Installera" and you should be done to login =]
"The best place to hide a tree, is in a forest"

User avatar
Jontebullen
On the way to fame!
On the way to fame!
Posts: 48
Joined: 03 Apr 2007, 16:00
17
Location: south of the northpole
Contact:

Post by Jontebullen »

how do you set up a restricted area, so i can add usernames and passwords to allow people to login and acces restricted content? i'm sure there's tons of ways i just don't really know what to google for... :?:
didn't really think this neaded a topic of it's own

oh and anyone know about some proxy i can download and install on my server so i can surf through this computer when i'm at school? :twisted:
this other guy where i live used to have one but it's down, also i want it to be in the restricted area?

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Jontebullen wrote:how do you set up a restricted area, so i can add usernames and passwords to allow people to login and acces restricted content? i'm sure there's tons of ways i just don't really know what to google for... :?:
didn't really think this neaded a topic of it's own

oh and anyone know about some proxy i can download and install on my server so i can surf through this computer when i'm at school? :twisted:
this other guy where i live used to have one but it's down, also i want it to be in the restricted area?

You can try this proxy: http://www.youngzsoft.net/ccproxy/proxy ... wnload.htm


and about the restricted area. Depends on what kind you are looking for

you could google for "password php script" or something

found this site, might be usefull

http://scripts.ringsworld.com/user-authentication/
"The best place to hide a tree, is in a forest"

User avatar
Jontebullen
On the way to fame!
On the way to fame!
Posts: 48
Joined: 03 Apr 2007, 16:00
17
Location: south of the northpole
Contact:

Post by Jontebullen »

i only tried some of the user authentication scripts but i haven't been able to do anyone right :oops:
tried like 6 of them, if you could please post somekinda guide the would be very helpful.
btw thx for all the great help neo :wink:

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

you can use .htaccess files to password-protect directories:
http://sniptools.com/tutorials/windows- ... entication
:wink:

User avatar
Jontebullen
On the way to fame!
On the way to fame!
Posts: 48
Joined: 03 Apr 2007, 16:00
17
Location: south of the northpole
Contact:

Post by Jontebullen »

the .htaccess authentication system works great. thanks bad_brain :wink:
now i'm gonna start on the proxy server. ccproxy seems like it has quite alot of functions. you don't know of any proxy that is like über basic, only the possibility to surf the web and maybe webpage restriction for adult content?

Post Reply