Important alert: (current site time 7/15/2013 9:50:24 AM EDT)
 

winzip icon

Advance login system (v1.5) [updated!]

Email
Submitted on: 1/1/2003 2:38:38 PM
By: U-TIME 
Level: Beginner
User Rating: By 84 Users
Compatibility: PHP 4.0
Views: 84094
author picture
(About the author)
 
     This code that was writen to show how to make an log-in system on your site (but you can also use it as an template). But no just that. It also features a security agains breaking the password through brute force (= trying a lot of passwords). And different access levens, an easy to use admin interface. You can even make user into admins, delete there accounts and activate there account's (the normally recieves an code by email to activate the acount). updated(1/1/2003): changed config.inc into config.php for increased security. updated(2/1/2003): added comments, fixed some very small bugs. updated(7/1/2003): added userlevels, simplyfied the security header for member-only pages. updated(11/1/2003): fixed some bugs, made the admin screen "htmlproof", changed the activationnumber into an activationcode. updated(22/1/2003) fixed bugs (again, code is never perfect) added version.txt added more comments updated(3/3/2003) fixed the notices appearing if the pages are accessed directly added documentation.html more configuration in config.php updated(15-6-2003) added remember me function added more validation added tripod support added a PM system MORE INFO + LIVE DEMO: HTTP://UTIMER.PCPLAYGROUND.COM/ALS/

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
1/1/2003 3:04:45 PMU-TIME

Please vote and leave feedback
(If this comment was disrespectful, please report it.)

 
1/3/2003 2:20:04 PM

Nice Code Keep Up The Good Work
(If this comment was disrespectful, please report it.)

 
1/12/2003 3:04:07 AMCompuman81

I've done a project almost IDENTICAL to this one in ASP . if anyone is interested drop me a line
(If this comment was disrespectful, please report it.)

 
1/21/2003 5:59:19 AM

Great work and a nice code, however I seem to be having problems with the activation code not being accepted. Any help with this would be appreciated as this is a really well done login.
(If this comment was disrespectful, please report it.)

 
1/21/2003 3:25:21 PM

Nice one! Code works well and is one of the best login scripts I have come across! Keep up the great work!
(If this comment was disrespectful, please report it.)

 
1/24/2003 5:47:58 PM

Im having problems. Every link on the Index.html page that links to a file that has the .PHP extention, when i click on them, IE wants to save the file. Can anyone help. email me at annihillation@yahoo.com thanks
(If this comment was disrespectful, please report it.)

 
1/25/2003 12:08:44 AM

can someone do this for me? ill give my name and password to my site, im really lost, help would be appreciated, thanks a bunch, email me at gbdavidx@hotmail.com
(If this comment was disrespectful, please report it.)

 
1/26/2003 11:07:56 PM

Very Good Work
(If this comment was disrespectful, please report it.)

 
2/23/2003 5:17:03 AM

Helpful peace of code, however, getting problems with undefined POST-variables in activate.php.
It's like the header() function does not transfer POST parameters.
I'm new to PHP, so it should be a configuration or preference error...?
(If this comment was disrespectful, please report it.)

 
2/28/2003 9:23:48 AMU-TIME

Note that al people who have asked for help above, got fast and personal help, by mail.
(If this comment was disrespectful, please report it.)

 
3/7/2003 5:13:20 PM

it is great code, but problem is if i add one filed it won't work..... plz help me
(If this comment was disrespectful, please report it.)

 
3/9/2003 4:43:12 PM

Why can i not login to the admin area and how do i find the login user and pass for it?
(If this comment was disrespectful, please report it.)

 
3/10/2003 7:20:30 AM

Ok well i got into the admin area, i found out why i cannot login as it for some reason doesnt go into the members or admin area, any idea why?
(If this comment was disrespectful, please report it.)

 
4/9/2003 3:27:08 AMtimothy

perfect for a biginner! it will be highly useful if an image verification code could be integrated into it
(If this comment was disrespectful, please report it.)

 
4/22/2003 6:02:02 AM

works good, it creates the my SQL entry
my free host dosent have mail() so i removed the activation and set it to auto activate but even if a user is activated it says "please log in" i checked the membersonly.inc.php which the error lies in, it is some where in there i found where it gives me there error message, its a die errorany ideas? im about to thourly check the code
(If this comment was disrespectful, please report it.)

 
4/23/2003 10:26:01 AMU-TIME

@timothy:
Hmm good idea, i might add it in 1.5
@anyonemous:
I send you a mail for futher investigation
(If this comment was disrespectful, please report it.)

 
5/4/2003 3:45:56 PM

Okay, Which PHP file contains the link to the actual login page? I've looked through them all, but maybe I'm missing something.

Once I
(If this comment was disrespectful, please report it.)

 
5/5/2003 4:21:08 AMU-TIME

the actual login is done in login.php. The form submits the login data to itself.
(If this comment was disrespectful, please report it.)

 
5/20/2003 8:33:49 PM

ok..im using your php user system script, which i very much love, and I was wondering how I would add a profile for the users to set. When I try to add another field to the signup form, something always flops. Please help me on this ;). I would like to add a feature for the real name, age, etc. (I emailed this too, wasn't sure if you would get it..srry if im a bother
(If this comment was disrespectful, please report it.)

 
5/22/2003 8:30:17 PM

ok...i have that... now, i have a profile which is set when the user signs up, i want to make a page so that the users can change this information if needed. any suggestions?
(If this comment was disrespectful, please report it.)

 
5/27/2003 12:58:02 PM

If I want to login I always get this message:
(If this comment was disrespectful, please report it.)

 
5/27/2003 12:59:44 PM

When I login the only thing I see is this: Please Log in. I know the problem lies in membersonly.inc.php but I can't solve it...
(If this comment was disrespectful, please report it.)

 
5/31/2003 5:29:54 AM

What can I say? This one hell of a good script. Thank you. Great work U-Time.

Does any one know if the sctips hs since been updated?
(If this comment was disrespectful, please report it.)

 
6/2/2003 1:50:01 PMRyan Kearney

Best login code i've ever seen!
(If this comment was disrespectful, please report it.)

 
6/3/2003 9:27:07 AM

Ok. I'm using your code, and it's well done. I've done a lot of debugging myself and changes. You have problems with your Admin sections. For example, it seems that after install.php and the admin account is created, it is a negative rank number, and you code to that affect. However, when you try to make someone else an admin, their rank is 0, but do not have admin controls. This is because in the user.php file you have it that admins are x < 0. I had to change this to x <= 0. A few other places as well. Also, dismissing an admin is a problem. I didn't work for me, so I changed your formula, and just set it so that if you dismiss an admin, their rank is automatically 1. This will at least remove them from having admin control.
(If this comment was disrespectful, please report it.)

 
6/3/2003 10:59:41 AMU-TIME

hmmm, strange error, haven't noticed it. *starts webserver and tries* Ah I understand (I'm not so fast ;)). Well I see what u mean. I have never tried using Level 0 members. therefore they do have an error :(. What I don't understand why you say a admin becomes a level 0 member? It just makes there number negative... which is exactly what goes wrong with a 0 member...
-0 = 0 :(
I have fixed this and it will come with the next release of ALS (1.5)
Thanx for your feedback!!!
btw, if u got more bugs/idea's plz mail them to me :)
(If this comment was disrespectful, please report it.)

 
6/9/2003 3:20:12 AMU-TIME

Well I fixed it all in the new version
(I'll release it after I have the
feedback of my betatesters).
The
negative number was done, so
1) you
can get your original level back after
switching between admin / non-admin
2)
a few new features (aldo that won't
help you now)
(If this comment was disrespectful, please report it.)

 
6/15/2003 1:01:12 PM

This is truly a nice script, but every time I try and customize the login screen (i.e. tables, customized input and submit buttons) it doesn't seem to login anymore. I have tried everything that I know how to do. Please help me.
(If this comment was disrespectful, please report it.)

 
6/15/2003 1:04:55 PMU-TIME

send me your login.php file and i will have a look
(If this comment was disrespectful, please report it.)

 
6/15/2003 3:17:33 PMU-TIME

ALS 1.5 IS RELEASED!
(If this comment was disrespectful, please report it.)

 
6/16/2003 2:51:51 AM

I'm gonna to try the new ver. of a.l.s. and if i come across the same problem i will post it. hopefully that won't happen and it will save you some time on trying to debug a page of code. thank you for such a quick response.
(If this comment was disrespectful, please report it.)

 
6/16/2003 9:42:12 AM

For some reason when I log in as admin. and i try and go to admin.php nothing shows up, not an error, not something about a userlever, nothing...
I'm not quite sure what the problem is. Any suggestions?
(If this comment was disrespectful, please report it.)

 
6/22/2003 12:59:10 PM

good job. Wish to have nice interface. Don't worry thats will everyones homework.
(If this comment was disrespectful, please report it.)

 
7/15/2003 10:42:54 PM

I love ASL but the new version had a bug for me. I tried to go to the oldmessages and there was an error. I thought maybe because it was empty, but I put a message in there and it said the same thing. oh by the way, if you would like a graphic validation, I can make it so there is a graphic validation when you submit your stuff to signup, before you are sent to the activation page. i have made many modifications to ASL to suit me like restrictions and suspensions along with user profiles and much more. Ask me if you would like my help for ideas for a version 1.6
(If this comment was disrespectful, please report it.)

 
7/18/2003 11:44:43 PM

cannot use php_java.dll extensions!!
(If this comment was disrespectful, please report it.)

 
7/29/2003 11:12:54 AM

Erm, good work, but the interface is terrible. And there are MANY spelling errors. Please fix this in later versions.
(If this comment was disrespectful, please report it.)

 
8/14/2003 9:43:14 PM

ugh, I just got done adding some new things to mine. Now I need to get the new version abnd add them to that...anyway good job.
(If this comment was disrespectful, please report it.)

 
8/19/2003 2:43:50 AMMatt Spokes

to the person who submitted the comment on 7/15/2003 10:42:54 PM. im not very good at php and i got loadsa errors in here. on the install thing and add thing. i keep gettin parse errors could u help me? or in that case cud anyone help me?
(If this comment was disrespectful, please report it.)

 
8/19/2003 2:45:33 AMMatt Spokes

and U-TIME do you think u cud help me? if so contact me at flames_of_fire_2k3@hotmail.com (also if u have msn or yahoo messenger it wud b great)
(If this comment was disrespectful, please report it.)

 
8/29/2003 6:21:34 AM

hi - I am loving the script. however, i seem to be having problems with it. I cannot seem to use code like this - echo ($user_currently_loged); on the change password page. The username just doesn't show up. This code works on all my other pages- any ideas. Thanks,

Tom,
tom@hiddenentity.co.uk
(If this comment was disrespectful, please report it.)

 
8/31/2003 3:37:13 PM

Great Coding ^-^, love it
but I have a little problem everytime i try to sign up, i get this..

Error while creating database (Errornumber 1044: "Access denied for user: '@localhost' to database 'members'")
(If this comment was disrespectful, please report it.)

 
9/1/2003 10:56:33 AMU-TIME

to use the current username add this line

global $user_currently_loged;

below

//this function will make the change password page and put the error argument in it
function makeform($errormessage){




Error while
creating database (Errornumber 1044:
"Access denied for user: '@localhost'
to database 'members'")

please make sure all the settings in config.php are correct. these settings can't be correct.
(If this comment was disrespectful, please report it.)

 
9/1/2003 2:46:24 PM

Ohh, oops fixed it.
I have another problem, after I clicked on install, than this came out.

Could not open database
please check your settings in config.php

Oh, and im using the folder members, as the databse. What could be wrong?
connects to the sever o.k, just can not open the database?
(If this comment was disrespectful, please report it.)

 
9/12/2003 3:40:31 PM

hiya!! the code is kewl, i wonna use it on my site cos the thing i use atm is crappy and can be hacked easily :( the only problem i have with it is the activation thing, is there anyway that i can remove it? thanks, ReMix
(If this comment was disrespectful, please report it.)

 
9/13/2003 4:05:13 AMU-TIME

sure on line 150 you will find the query. make it like this (the line):
$query = "INSERT INTO ".$DBprefix."signup (username, password, mailadres, actnum, userlevel, signupdate ,lastlogin, lastloginfail, numloginfail) VALUES ('$username1','$password1','$mailadres1','0', '1', '$datetime','0','0','0')";

and on line 168 you will find the redirect, change that to the content on line 166.

to make things easy I'll add this as an option in 1.6
(If this comment was disrespectful, please report it.)

 
9/13/2003 4:07:58 AMU-TIME

TO ALL PEOPLE, FOR SUPPORT PLEASE USE
THE FORUMS LOCATED
AT
HTTP://UTIMER.PCPLAYGROUND.COM/als/

thank you
(If this comment was disrespectful, please report it.)

 
9/13/2003 9:07:17 AM

Hi U-TIMe,
Very good code. Have you updated this code since then?
(If this comment was disrespectful, please report it.)

 
9/14/2003 9:01:11 AM

Good code! I have tried all of the code in this site, the best one is this code. It took me only 1 min. to install and run it. I havn't found any bug yet.
(If this comment was disrespectful, please report it.)

 
9/14/2003 9:03:16 AM

I have tried to modify your code by using md5() to make password, but fail. Could that be done? and How?
(If this comment was disrespectful, please report it.)

 
9/24/2003 12:06:57 PM

YOUR CODE IS DANGEROUS!
It is because:
1.It saves the password in a cooky(md5), wich you can also use to login!
2.It saves the username in a cooky, NEVER DO THAT! always save the session ID in a cooky, not the username.

So, Check your code again and make sure It`s safe this time!
(If this comment was disrespectful, please report it.)

 
11/12/2003 2:09:31 AMRuben Benjamin

Nice piece of code. This is an excellent work for learning advanced php scripting
(If this comment was disrespectful, please report it.)

 
11/28/2003 9:29:27 PM

i uploaded the files to my host,changed the values in config.
i ran install.php
kept giving me error Error message:
Premature end of script headers: install.php
what do i do
my host is 50free.com
i already have php script running in a similar subdomaini i am hosting my self
the error is members.touchgodlive.org
i have code running at dating.touchgodlive.org
(If this comment was disrespectful, please report it.)

 
12/6/2003 7:17:46 PM

When will ALS 1.6 be done?
(If this comment was disrespectful, please report it.)

 
2/4/2004 1:29:34 PM

I am interested in the ASP anyone know?
Please let me know
Thanks
(If this comment was disrespectful, please report it.)

 
2/11/2004 3:29:01 PM

Great code! Does the job!
(If this comment was disrespectful, please report it.)

 
2/22/2004 1:03:35 PM

Nice code, ive added a few things for my own purposes and changed a few things which make it insecure...nice code though keep up the good work!!
(If this comment was disrespectful, please report it.)

 
3/29/2004 6:03:58 AMKassy Oswald

Hello, is there anyone that can help me with this code? I need some features added, can't get a reply from author so any help will be great. Pls email me at kasesnik@hotmail.com and I will give more details. Will pay too if required ... Kassy
(If this comment was disrespectful, please report it.)

 
3/29/2004 8:24:23 PMKassy Oswald

Anyone, I added one more field to the signup table and am getting this: Error while creating admin account (Errornumber 1136 :
(If this comment was disrespectful, please report it.)

 
4/2/2004 2:59:07 PMPeter van Velzen

Hey everyone, I think he stoped developing this code. But I have the 1.5.6 version:P
I'm the co-developer of this code, anyone interested??
(If this comment was disrespectful, please report it.)

 
4/7/2004 12:49:33 AMlooking_for_code

hi:

can you please post it, or send directly to me,

thanks
(If this comment was disrespectful, please report it.)

 
4/26/2004 5:24:22 PM

when u click on login the index.php will open in the current frame, is it possible to select a target frame?
thx,
Haing.
(If this comment was disrespectful, please report it.)

 
5/24/2004 11:15:19 AMPeter van Velzen

You can download it here: http://utimer.pcplayground.com/als/als1.6beta.zip
(If this comment was disrespectful, please report it.)

 
5/26/2004 11:55:11 PM

hi it´s a nice pretty code almost like a beauty woman, but im having problems when it´s time to send the secret code, it doesnt send to an external mail, just can send in the localhost
(If this comment was disrespectful, please report it.)

 
7/26/2004 7:27:38 AM

Ah, I really do like this code. We should all badger the developer to keep the project going!
(If this comment was disrespectful, please report it.)

 
7/29/2004 9:05:36 AMakhilcp

Hi, I can sponsor u. I like ur work. Goog.
(If this comment was disrespectful, please report it.)

 
7/30/2004 4:31:16 AMKhauvough (kovu)

Thats very nice work man, but, i think a default config.php file should come with.
(If this comment was disrespectful, please report it.)

 
8/27/2004 4:28:17 PM

Nice working.... i use this code on my site ;)
(If this comment was disrespectful, please report it.)

 
11/11/2004 8:07:59 PM

Excelente trabajo Suerte
(If this comment was disrespectful, please report it.)

 
11/16/2004 5:57:15 AMTaylor Chapman

This code was exactly what i needed Thanks:>
(If this comment was disrespectful, please report it.)

 
1/9/2005 7:33:50 AMSimon Ingram

Excellent Script, Really well Done, thank you.
(If this comment was disrespectful, please report it.)

 
1/26/2005 5:52:40 PM

Im new at PHP and I like your format to the login. I wanted some security for user-only pages on my site. I dont know how to install it to my site, how would I? Do I have to install anything before? Thanks.
(If this comment was disrespectful, please report it.)

 
2/6/2005 9:18:34 AMFoong Jun Kai

NICE LOGIN SCRIPT!
(If this comment was disrespectful, please report it.)

 
4/1/2005 12:48:10 PM

To start, this is a terrific piece of code. I've started integrating it with a site I'm putting together for my family to share photos.
I have two questions about the script:
Question 1) The messages.php script was not in the members folder, though the members area link tries to access it there. I copied the one from the folder above and it appears to be working fine. Is this correct or am I missing a file?
Question 2) I can't seem to locate an area to enter the news, are the news features a separate component or did I just hook up this part of the script incorrectly?
Thanks for making this.
(If this comment was disrespectful, please report it.)

 
4/22/2005 8:05:12 PM

it is pretty work on my localhost. but wne i upload to my hosting , it shows the errors
================
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/path/public_html/config.php:122) in /home/path/public_html/login.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/path/public_html/config.php:122) in /home/path/public_html/login.php on line 53

is there any way to fix these errors ?
pls help me !!!
(If this comment was disrespectful, please report it.)

 
6/13/2005 10:34:04 PM

Hi, i am a new php user,i have faced some problems with the installation of this code, I have filled in the MySQL server name in the config.php file, however when i continue with the next step( run Install.php), the following errors/warnings appear. Can help me with this? Thanks in advance...!


Notice: Undefined index: action in c:\program files\easyphp1-8\www\install.php on line 3

Notice: Undefined index: preUpdate in c:\program files\easyphp1-8\www\install.php on line 4

Notice: Undefined index: special in c:\program files\easyphp1-8\www\install.php on line 5

Warning: mysql_query(): Access denied for user 'ODBC'@'localhost' (using password: NO) in c:\program files\easyphp1-8\www\config.php on line 97

mayfang.
meinerlady@yahoo.com
(If this comment was disrespectful, please report it.)

 
6/28/2005 4:18:17 PM

In order to make install.php run, I have to make the password to the database be blank. If the password is set as something else, the script won't connect, it returns
(If this comment was disrespectful, please report it.)

 
6/28/2005 4:19:59 PM

In order to make install.php run, I have to make the password to the database be blank. If the password is set as something else, the script won't connect, it returns "access denied, (Using Password: NO)" errors.

When it installs, I can't log in as admin, it says the username or password isn't correct. At the top of the page, there is an error 2002.

I can't do run install.php, because of "run: command not found", so I use php install.php, is this ok?

I also get the same errors as mayfang, the post above me. The filepaths are different of course, but the errors are the same.
(If this comment was disrespectful, please report it.)

 
7/4/2005 5:45:20 AM

Excellent code. Thanks for sharing it.
(If this comment was disrespectful, please report it.)

 
7/6/2005 2:01:12 AM

excellent code
the apearance is all that is lacking but a few simple color changes will fix that..
(If this comment was disrespectful, please report it.)

 
8/6/2005 12:11:13 PMCasper

Nice Code!
Thanks For Sharing! 5x
(If this comment was disrespectful, please report it.)

 
8/23/2005 6:08:10 AMHari C Nair

I installe everything well and I like to install in my website but i cant even enter to the admin area, Cannot signup new users. When I enter the username and password as admin, admin respectilvely and clicks on the signin button nothing happense. Also if I try to create a new user it shows that you details cannot be added to the database beacuse of the following error.

You could not be added to the database because of the following reason(s)
No username given

No password given

No mailadres given

The username contains invalid chars.

The password contains to little chars.

The username contains to little chars.

The given e-mail adres is not valid

Please return to signup form and try again.

But I entered everything correctly. Please help.
Mail me to haricnair@gmail.com to help me. Any person ready to help me is always welcome.
Thanks.

(If this comment was disrespectful, please report it.)

 
9/13/2005 11:34:27 AMBee

Install OK
Test OK
Problems No
Time 2 Minutes
Working? Yes
P E R F E K T
Saves me 1 Week of Work!!!!!!!!!!!!
*****
(If this comment was disrespectful, please report it.)

 
9/29/2005 3:36:03 AMczarjay

how can i acces the dara base
(If this comment was disrespectful, please report it.)

 
9/29/2005 3:41:41 AMczarjay

how cani conect to data base
(If this comment was disrespectful, please report it.)

 
11/20/2005 1:38:57 AMKazoo

Works like a charm !! Keep it us !
(If this comment was disrespectful, please report it.)

 
2/10/2006 6:51:58 AMVipin

Nice Code , But having some error :-
When I enter the user name and enter the wrong password it shows the "Incorrect Login" . Also at the same time it updates the field "numlognfail" to 1 in "signup" table , now when I click the Refresh or when I Referesh the Page the code again updates the "numloginfail" to 2 in "singup" table and it goes on incrementing when I Referesh the Page
Please make it clear I am new to PHP
(If this comment was disrespectful, please report it.)

 
7/27/2006 2:14:20 AMDstrBd

it seems it does not support newer version of mysql. i tried to install it in version 4 and 5 but both fails. anyone knows how? anyways nice coding
(If this comment was disrespectful, please report it.)

 
8/19/2006 4:58:03 PMXSI lover

thank u for great work ... and i need to do that " only phone number can reg in username fild ", what code can add in add.php .... and thank you agine.
(If this comment was disrespectful, please report it.)

 
8/22/2006 5:30:43 PMnader

thanks this is good work
(If this comment was disrespectful, please report it.)

 
10/20/2006 4:14:13 AMAman Deksiso

please send me email
(If this comment was disrespectful, please report it.)

 
10/22/2006 11:17:48 AMdave

hi u-time, it's a great job u've done there.... I just wanna check with u, it doesn't have the message module, right? i couldn't find it there. but i found the database has the inbox n outbox table. i'm wondering do i missed out something in the downloaded winzip file.

thanks.
(If this comment was disrespectful, please report it.)

 
10/26/2006 12:56:57 PMJoaquin Marcher

missed message.php but anyway its an amazing job!!!
(If this comment was disrespectful, please report it.)

 
11/13/2006 2:25:48 PMGochiz

top code keep it up
(If this comment was disrespectful, please report it.)

 
12/13/2006 11:54:46 PMLeon Aiossa

Great code, using it on my site www.tnexgen.com, hope you don't mind. Btw messages.php doesn't seem to work,

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/guidex/public_html/login/messages.php on line 178
(If this comment was disrespectful, please report it.)

 
1/31/2007 10:55:19 PMrodel

Guys need help. How can I configure the system on my xampp? will i put all the files on htdocs? i did it but there's an error."Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Program Files\xampp\htdocs\config.php on line 97" what should i do?

(If this comment was disrespectful, please report it.)

 
2/6/2007 9:58:28 PMRPG MAKER

rodel install MYSQL and remmeber your username/password
(If this comment was disrespectful, please report it.)

 
2/9/2007 6:01:25 AMSaiken Chasofito

First off, great start. You did much better then when I first started.

1. First off, any protocol or file that's only purpose is to recieve and process data, make sure that a specific part is actually active, like the POST data's Submit Button name. If you really want to be good about it, create something that checks the HTTP_REFERER code and makes sure the information submitted came from the form.

2. Your mySQL query lines should have some kind of indicator that a mysql query failed. Such as: mysql_query("A query") or die("Query Failed"); You could be creative with it, and instead of die, make a function that logs everything about the error. Like Line, File, Date, IP, Cookie/UserID, Browser, etc. PHP has alot of stuff predefined. PHP has the $_COOKIE variable, the $_SERVER variable, the __LINE__ and you could just put the filename in with a string, and upload it to a databse like that.

If you have any more questions, feel free to email me.

Had to limit what I said, sorry
(If this comment was disrespectful, please report it.)

 
2/9/2007 10:00:41 AMrodel

Brother saiken... thank you for explaining It is a great help.

Also to you rpg maker
(If this comment was disrespectful, please report it.)

 
2/28/2007 4:19:47 AMshumin

GUYS PLS help........................

I've follow the instruction but still cant login by admin account, WHY?
could help me out..........
(If this comment was disrespectful, please report it.)

 
3/1/2007 7:49:25 AMabye

really good work
(If this comment was disrespectful, please report it.)

 
3/12/2007 2:56:48 PMCharles Riddell

great script!!! I do have one question, when a new user is emailed for verification it comes from a funky address, is there a way to change the from email address?
(If this comment was disrespectful, please report it.)

 
7/26/2007 1:40:08 AMJamari

Great work, Very usefull and thanks for sharing!!!
(If this comment was disrespectful, please report it.)

 
8/19/2007 11:26:27 PM125Z

can somebody give me the database.txt to me, I'm new using php code and also mysql... i just wanna know how this program running on my pc..plz help me
(If this comment was disrespectful, please report it.)

 
4/10/2008 4:59:23 PMChris

When I try to login to any created account it takes me to a page saying: Please log-in.

How can I fix this?
(If this comment was disrespectful, please report it.)

 
5/2/2008 4:33:23 PMGary Sangwell

Please Help Me Add Some Features To It!!

I Want To Add A Profile Bit Too It, And A Search Bit, Where They Search For Members, It Has A Link To Thier Profile, And A Link To Message Them..

Also.. A Way To Message Multiple People Will Be Good!!

Email Me At .. admin@iLiveMedia.co.uk

Thanks!!
(If this comment was disrespectful, please report it.)

 
8/2/2008 5:23:28 PM

Hi there, I am missing 'Messages.php' I have downloaded the pack about 5 times now (for various different reasons :$) and Its not in any of them, could you possibly email. Sebbo@Teenspoon.co.uk Thanks. Great code by the way!
(If this comment was disrespectful, please report it.)

 
9/1/2008 1:14:34 AMreiluke

love it
(If this comment was disrespectful, please report it.)

 
10/12/2008 11:55:37 AMRhys Towey

hey ive was wondering if there is a way to change the email address that you want to use to send the activation code to on signup???

PLEASE RESPOND AS SOON AS POSSIBLE

Thanks, Rhys
(If this comment was disrespectful, please report it.)

 
10/28/2008 2:46:27 AMJames Gregory

Hiya, This Script Is Really Really Good I Must Admit, I Only Have One Error With It But Its Fine Easily Sorted :), I Need To Ask You A Very Important Question Regarding Help With Your Script, So Can You Drop Me A Email Please Mate softwarespin@hotmail.co.uk, Many Thanks
James
(If this comment was disrespectful, please report it.)

 
3/4/2009 5:19:33 AMJason

Great script, does everything you need in a great login system. Great work, 5/5.

I am having a little trouble using the script in my web application, which uses a jquery sliding panel at the top of my page. For some reason, Within that panel, it does not recognise the echo($user_currently_loged); or global $user_currently_loged;, nothing is displayed in the panel at all, although it works on my other static pages.

I wanted the slide panel to display the login form if no user is logged in, and to display "welcome $user, you are logged in...etc".

Any ideas? I can be contacted on jmarks6@msn.com.

Thank you very much for your wonderful script, your mentioned in the credits of my web application I am working on.

Regards
(If this comment was disrespectful, please report it.)

 
8/13/2009 12:18:28 PMniru

hi mate;
I m facinf many problems with this.As the databse itself is not created with install.php. So plz help me i m in need of this module. my mail id is rmartin14@gmail.com
(If this comment was disrespectful, please report it.)

 
11/7/2009 8:38:33 AMnoob

hey i need some help plss,anyway ur code is totally awsome ,why i cannot delete the message in inbox,in outbox also can't delete. and how do i create another field for register ?and how user can view and edit thier registretion ? plss i need ur help for my final year project asap.
(If this comment was disrespectful, please report it.)

 
5/30/2010 5:30:57 AMJohnny

Please Help Me Add Some Features To It!!

I Want To Add A Profile Bit Too It, And A Search Bit, Where They Search For Members, It Has A Link To Thier Profile, And A Link To Message Them..

Also.. A Way To Message Multiple People Will Be Good!!

Email Me At johnnybm15@hotmail.com

Thanks


(If this comment was disrespectful, please report it.)

 
8/4/2010 4:56:57 PMjay





hi i am using your code and need it modified very slightly (may affect two files) i need it to be so that members can already be activated.


hopw you can help i have tryed but your code is way too advanced for my old code snippets and i have tryed guessing but didnt work,

also the passwords are stored in mysql as plaintext if pos can i make this md5 hash (i know its another two files) but again i have tryed guessing but you seem loads more expert like at coding please help if you can find the time.


my sites are as follows (am remaking them as there very messy)
http://jnet2010.0fees.net/ http://jnet2009.0fees.net/signup
(If this comment was disrespectful, please report it.)

 
10/25/2010 9:19:52 AMjay

hi i used this on windows typo web server with nbo issues now am running mint linux webserver running on same port as i did before when running windows but it will not let me signup or login can u please tell me if you know a quick fix for this it maybe related to config files or other minor issues ( i have downloaded again and setup database and config again still same error please help if anyone knows what i could double check other than what i have tryed please let me know thanks in advance
(If this comment was disrespectful, please report it.)

 
3/7/2011 8:42:05 AMYatin

Dear Friend,
you can earn up to $80(4000rs)+ per month online by do work online 30 minutes in a weak,
u have to do survey in a weak u will get $10(500rs)/survey, u will get 2 survey in a weak, means u will get $20(1000rs)/weak,
in one month total four weak so u will get $20*4=$80. in one year $80*12=$960(48000).

Side income
you can make money by making refer your friends and relatives or etc...
you will get $20 per referral, and $1.5/survey which have done by your referral, total $12/month u will get money as a side income,
here $1=50rs fixed.

company website:- http://www.speakasiaonline.com/

you can see more detail on above site.

u can create your account here with $220(11000rs).

contact me with cell no. +919033944831 or email. ynchauhan11@hotmail.com

You Can Also Receive A Computer Generated Receipt Of Your ID After Registration.


---------------------------
Regards,
Mr.Yatin Chauhan,
+919033944831
(KUTCH-GUJRAT)
(If this comment was disrespectful, please report it.)

 
6/28/2012 12:23:22 AMArturo

With PHP 5.3x there is some functions that have been deprecated, (See http://php.net/manual/en/migration53.deprecated.php) so the code will work if you replace all

@$HTTP_POST_VARS[

with: $_POST[

Same with

@$HTTP_GET_VARS[

Replace with

$_GET[

And finally

$HTTP_SESSION_VARS[

With $_SESSION[

This is a great solution if you need to secure some pages without messing with .htaccess

:) "It's not a bug, it is a feature. BG"
(If this comment was disrespectful, please report it.)

 
7/13/2012 12:40:15 AMHeat

I love your coding but I get one small error Everytime I try to get to the message center it won't go through it says JavaScript error unsafe please help me email me at heat.christman@yahoo.com please help
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.