PDA

View Full Version : Log In System



tleftye
14-10-2005, 07:26 PM
I know this is hard but can some1 explain how to make a login system? Like habbos.co.uk . Users need to register and then they can login with that account.

Please help :p

Ecko
14-10-2005, 07:32 PM
rofl its like a forum really

tleftye
14-10-2005, 07:36 PM
I know but can't make a forum so.. :p some1 need to explain ;o

Pxe
14-10-2005, 07:42 PM
www.hotscripts.com, i'll try and find you the link for then best one Okay

Raremandan1
14-10-2005, 07:44 PM
You need to make a PHP script and use sessions and cookies. And other stuff, Mentor is good at these sort of stuff.

tleftye
14-10-2005, 07:44 PM
pxe => Thankz :)
wow , I'm good in html but don't ask me how to make a php script .. I need some help with that .

Pxe
14-10-2005, 07:45 PM
Here mate, http://www.hotscripts.com/jump.php?listing_id=52204&jump_type=1

:Jamie
14-10-2005, 07:47 PM
erm the ones on hotscrips are rubbish and habbos.co.uk isnt like a forum to whoever said that I have one but im not giving it away seeing as ive worked hard making it please offer nething you can it holds a profile system a pm system edit account edit profile forum avatar system and so on..

Tom H
14-10-2005, 07:47 PM
If you search www.google.com and type in ASP login script they are what habbo uses an ASP script ive seen a version of it preety nifty!

tleftye
14-10-2005, 07:53 PM
legend.. I got one now I need to upload it on database or?..

Tom H
14-10-2005, 07:54 PM
does your hosting have mysql database and can upload PHP?

tleftye
14-10-2005, 07:56 PM
Yea I have

Tom H
14-10-2005, 07:57 PM
Ok have u uploaded all the files of the script?

tleftye
14-10-2005, 07:58 PM
I can upload folder if that's ok?

Tom H
14-10-2005, 08:00 PM
yes that should work if not get back to me

Ecko
14-10-2005, 08:03 PM
:o Nice.. good luck with it ;) remember I HoST YOU ;)

tleftye
14-10-2005, 08:05 PM
I know crans :p another thx ;) :p

Pxe
14-10-2005, 08:10 PM
Legend i uploaded the ASP Login but it doesn't work, when i go to /login.asp it downloads the file :S Could you tell me what to do from when i upload please. Ty <3

tleftye
14-10-2005, 08:11 PM
Yea same problem

tleftye
14-10-2005, 08:26 PM
I cant find the download.. so can't upload it on host :(

Tom H
14-10-2005, 08:59 PM
i think that ur saving the folder to index.asp which means if i put a software to that link it would download it also so put the login as index.php and get back to me

habbofuse
14-10-2005, 09:07 PM
did u guys unzip the file ?

Tom H
14-10-2005, 11:25 PM
i would of expected so to see the mysql files ETC

splintercell!
15-10-2005, 07:10 AM
I doubt your host host's asp most dont really "/ Login scripts are really simple but you need to know basic php and also how to submit, update, select and delete from mysql with php.

timROGERS
15-10-2005, 09:09 AM
Heres the reason, it dosen't work:

You need a Windows Server to use ASP, it's a Windows technology, basically, recapping, most hosts don't have it, you only get it if you specifically ask.

splintercell!
15-10-2005, 09:12 AM
Most hosts use Linux..

Sygon
15-10-2005, 09:28 AM
Because its cheaper

timROGERS
15-10-2005, 09:57 AM
Most hosts use Linux..


Because it's cheaper

Easiest way to get it with ASP is by hosting it on your PC

tleftye
15-10-2005, 10:29 AM
Well , I can't download the foler so can any1 gimme download url?

tleftye
15-10-2005, 11:04 AM
where do I uplaod it? cause it keeps saying :
error , connection to databse failed

Edit by NintendoNews: Please do not doubly post

splintercell!
15-10-2005, 11:04 AM
you need to make a database :s

timROGERS
15-10-2005, 11:07 AM
Or more likely, he hasn't even edited the config file :P

splintercell!
15-10-2005, 11:11 AM
or read the README as usual :|

tleftye
15-10-2005, 11:12 AM
damn forgot :p

timROGERS
15-10-2005, 11:13 AM
damn forgot :p

Says it all really :d

tleftye
15-10-2005, 11:15 AM
hey , I'm new with this :p.. First time I try to make a login system lol

tleftye
15-10-2005, 11:17 AM
can some1 fill this is but with examle names.. ;p


//your databse hostname.
$dbhost = "localhost";
//your database username.
$dbuname = "";
//your db password
$dbpass = "";
$dbname = "database_name_here";
//don't change unless you change this value in the db.
$prefix = "maaking";

splintercell!
15-10-2005, 11:27 AM
youre not making a login system :| your just downloading one...

Tom H
15-10-2005, 11:32 AM
Yes lol il get back to you with all the info will have to speak to my software developing friend and NO1 will catch him out!!

tleftye
15-10-2005, 11:32 AM
I downloaded config.. But need details else it won't connect to database

splintercell!
15-10-2005, 11:35 AM
you need to set the details up on your server though..

tleftye
15-10-2005, 12:06 PM
what's dbname?(not name but can some1 give an e.g. of what i need to add) cause I think all my details I entered are correct accept that one

tleftye
16-10-2005, 11:34 AM
Can some1 please help me for one more minute.. My login system won't connect to database I think It's cause the details I enter aren't correct. But not so experienced with database so Dunno if I enter the right names. Can some1 give me an example if your
username = Hello
password = Dnno
database = Hello_login
localhost = Look
site is called = MYSITE.com
and e-mail = [email protected]

(these details are just an example of what I have)

How to fill them in in this code :


//skip the config file if somebody call it from the browser.
if (eregi("config.php", $_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php"); die();
}

//your databse hostname.
$dbhost = "THISTOFILLIN";
//your database username.
$dbuname = "THISTOFILLIN";
//your db password
$dbpass = "THISTOFILLIN";
$dbname = "THISTOFILLIN";
//don't change unless you change this value in the db.
$prefix = "maaking";

//change this
$site_name = "maaking.com user login system";
$site_email = "THISTOFILLIN";
$site_url = "THISTOFILLIN";



Please some1 :p

-JT-
16-10-2005, 11:37 AM
I know this is hard but can some1 explain how to make a login system? Like habbos.co.uk . Users need to register and then they can login with that account.

Please help :p

lmaorofl that deserves to be pwnd

tleftye
16-10-2005, 11:41 AM
loool ;o..

Want to hide these adverts? Register an account for free!