[5095]Login and Register scripts

12/11/2010 05:11 DePredaTe#1
Alright, whether there have already been some released or not, I don't care. These are what I made.

Now there is absolutely no design to these scripts. I do PHP, and PHP only. I made this register and login script for CoEmu2(Nano) and they will only work with it, i will end up doing register/login scripts for the rest of the source but this is my first release. I don't care if you don't use them, but please post thanks or something if you do.

This is not meant to be a site alone, and if you ever use this as your whole site I will shoot you myself. These are simple add-ons for your site... you know, just whatever.

How to set it up:

open config.php

replace the password and username if necessary. and thats it.
12/12/2010 15:58 DePredaTe#2
Found a minor glitch, sorry for the bumb.
The logout.php tries to redirect to a different page than what is in the files. Here is the new one:
12/12/2010 18:45 thesamuraivega#3
Quote:
Originally Posted by DePredaTe View Post
Alright, whether there have already been some released or not, I don't care. These are what I made.

Now there is absolutely no design to these scripts. I do PHP, and PHP only. I made this register and login script for CoEmu2(Nano) and they will only work with it, i will end up doing register/login scripts for the rest of the source but this is my first release. I don't care if you don't use them, but please post thanks or something if you do.

This is not meant to be a site alone, and if you ever use this as your whole site I will shoot you myself. These are simple add-ons for your site... you know, just whatever.

How to set it up:

open config.php

replace the password and username if necessary. and thats it.
:( i need for Tq Binary :( tnks:(
12/12/2010 19:02 Syst3m_W1z4rd#4
Quote:
Originally Posted by thesamuraivega View Post
:( i need for Tq Binary :( tnks:(
Stop cry and learn to code:rolleyes:
12/12/2010 20:47 DePredaTe#5
Lol, i dont really know anything about binaries. soz.
12/12/2010 20:55 BioHazarxPaul#6
@thesam...
$qry="SELECT * FROM accounts WHERE accountid='$login' AND password='$password'";
$result=mysql_query($qry);

ur gonna want to change select from accounts to where u access ur accounts in ur database and where the account name would be at you would change accountid.. not to hard to figure out really..
12/12/2010 20:57 DePredaTe#7
who me? or the other guy? and that would be for the login if its for the other guy, the register script would probably have to be entirely changed to work with binaries, but i have no clue cause ive never used em.
12/12/2010 21:00 BioHazarxPaul#8
Quote:
Originally Posted by DePredaTe View Post
who me? or the other guy? and that would be for the login if its for the other guy, the register script would probably have to be entirely changed to work with binaries, but i have no clue cause ive never used em.
was for the other person and i really dont find it hard to change things around thats a start now all he needs to do is find any statements like that , that dont fit his database and change them..
12/12/2010 21:05 DePredaTe#9
true, but you are talking about a person who uses binaries and cant even spell right. XD
12/12/2010 21:07 BioHazarxPaul#10
Quote:
Originally Posted by DePredaTe View Post
true, but you are talking about a person who uses binaries and cant even spell right. XD
In that case..... @thesam... might wanna ask someone who knows what their doing..
12/12/2010 21:08 DePredaTe#11
lol. yeah. (and im probably not going to do it for him), feel free to do so. hahaha.
02/20/2011 17:43 Elite4Demons#12
This wont work with TQ account database , this is very simple login script , and in database passwords are in md5 hash this is nowhere close to work
02/20/2011 18:25 BioHazarxPaul#13
u can setup php scripts to save passwords in md5 hash into the mysql database if you know what ur doing this script will work with any mysql database with a few changes.

that being said there really wasn't a need to bump this old thread.