Re: [No mysql]login script
Yes it works... But in-terms of security, I don't think that'll last.
Re: [No mysql]login script
Re: [No mysql]login script
thanks yoni for great number.
Re: [No mysql]login script
Very nice. Brilliant script for logging in. I can't find my C++ program. Keeping it neat I see. Oh well, I will be of to look for a new C++ program. Fuck that.
_Hacker
Re: [No mysql]login script
thanks you Hacker for sweet command
Re: [No mysql]login script
So where would all the name's and password's be stored?.
--
So you are only able to use one name and one password?
Re: [No mysql]login script
can more but you have to edit the code
just add under
PHP Code:
if($_POST['id'] == 'test' AND $_POST['pw'] == '1234'){
echo "welcome ";
echo $_POST['id'];
}
under the }
you place
PHP Code:
elseif($_POST['id'] == 'username2' AND $_POST['pw'] == 'password2'){
echo "welcome ";
echo $_POST['id'];
}
Re: [No mysql]login script
So people wont be able to register, they will just have to use pre-givin username and password?.
Re: [No mysql]login script
lmmfao
I would expect nothing more
You have no idea how insecure that is =D
I would be embarrassed to ask for a rating on this script
Re: [No mysql]login script
@Wh005h, Lol love your comment.
It would have to be insecure if it was HTML and had pre-arranged username and password's unless... umm... I dunno, would anyone bother using it?
Re: [No mysql]login script
I wouldnt ^^, if I need users to login it will be large ammounts and thus I would use a db. OR I use it for admin access only and than I would use the build-in authentication of browsers. Its not really a showcase, but whatever ^^
And I agree with Wh005h :)
Re: [No mysql]login script
Here's some good suggestions so I can turn this into something productive hopefully lol
1. Hash the password and compare hashes
2. For account registration, have it write to a txt file and reference an exploded txt string to find logins
3. Get, learn to use, and/or just use a database, it's not hard... If it was a mssql database I might could understand.
Re: [No mysql]login script
Yeah basically someone could just view source and get username and password or if you encrypt they can decrypt, simple as pie.
Re: [No mysql]login script
its easy with database but i specially choose without database coz not everyone have that option if you get free database than its mostly slow ...
this system is used for private not for everybody to register.