IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
6 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic

Complete Login System

, With PHP + MYSQL

xJedix
no avatar
Premium Member
********
Group: Members
Posts: 183
Joined: 27-June 05
From: Minnesota
Member No.: 8,734



Post #11 post Dec 2 2005, 02:51 AM
Very nice tutorial and setup for a login system. I have my own I have used in the past as a clan site. You have given me many ideas to try that will majorly improve my site. I like your secure md5 passes, thats a great idea especially for something like a clan site. I am going to have to incorperate that into my site. Also, I haven't liked functions that much but it makes everything much simplilar and gives you a lot of freedom by using them. I will have to give them a try in the future.

I got one question.....
for this line in admin.php:
CODE
print "<tr><td align=\"center\" colspan=\"7\"><font color=\"#FFFFFF\" size=\"2\"><b>Sorry, there is no members registered.</b></font></td></tr>\n";


You can just have this line like this and still work:
CODE
print "<tr><td align=center colspan=7\><font color=#FFFFFF size=2><b>Sorry, there is no members registered.</b></font></td></tr>\n";

Is it wrong to do it that way? or does problems occur by doing this?

Also, is this code changed to php5? Because I remember being told that " should be ' in the php sections of the code for the new versions of php.


Thanks for the tutorial, and if someone could answer my questions.... that would be great smile.gif

xJedix

[note=jlhaslip]Edit to repair bbcode as per report.[/note]


This post has been edited by jlhaslip: Dec 2 2005, 03:01 AM
Go to the top of the page
+Quote Post
Plenoptic
no avatar
Trap Double Mocha Member
***************
Group: [HOSTED]
Posts: 2,268
Joined: 5-November 05
From: That one place over there...
Member No.: 13,830
myCENT:61.71



Post #12 post Dec 21 2005, 11:59 PM
Well that's cool. Does it remember that the person is logged in or whatever? Like does it show that they are logged in on the site? Like say I log in and go to a different link on the forum. Will it say in a corner Logged In as Plenoptic? If so that's really cool. Nice tutorial
Go to the top of the page
+Quote Post
HmmZ
no avatar
Super Member
*********
Group: Members
Posts: 362
Joined: 2-March 05
From: The Netherlands
Member No.: 4,097



Post #13 post Dec 22 2005, 12:38 AM
@Karlo
It's avoiding the superglobals, wich are by default switched off in PHP4 and PHP5, but in my honest opinion i dont think falgor took that in his decision when using variables right away.
Note that i dont know wich phpversion() trap17 has at the moment, so if they are still using cPanels default (PHP3) then you can use $_POST[] and $_GET[].

@xJedix
You dont have to necessarily use quotes, in the end it can really speed up a script. however, it is one of the necessary functions when you want it just to be a LITTLE html validated, im not sure but it can be that some browsers can cause display errors when using no quotes, but dont hook me on that.
Go to the top of the page
+Quote Post
Hiaito
no avatar
Premium Member
********
Group: Members
Posts: 167
Joined: 1-October 05
Member No.: 12,407



Post #14 post Dec 22 2005, 02:09 AM
I wonder if you could run that off in PHPmyCHAT.
Go to the top of the page
+Quote Post
Dooga
no avatar
Moderator
Group Icon
Group: [MODERATOR]
Posts: 1,344
Joined: 26-December 04
From: Canada
Member No.: 2,940
myCENT:46.53



Post #15 post Dec 22 2005, 04:44 AM
Thanks! I was searching for such a script in hotscripts.com for a long time! Maybe you could even submit the script...
Go to the top of the page
+Quote Post
bigfatme2000
no avatar
Newbie [Level 2]
**
Group: Members
Posts: 34
Joined: 28-October 05
Member No.: 13,491



Post #16 post Dec 22 2005, 08:46 AM
QUOTE(Dooga @ Dec 22 2005, 04:44 AM)
Thanks! I was searching for such a script in hotscripts.com for a long time! Maybe you could even submit the script...
[right][snapback]214798[/snapback][/right]


Yeah - thanks very very very much - This is well needed, and will go to great use on the next version of my website - thanks! smile.gif
Go to the top of the page
+Quote Post
sammaye
no avatar
Member [Level 2]
*****
Group: Members
Posts: 87
Joined: 12-March 05
From: somewhere in the UK...if only I knew
Member No.: 4,419



Post #17 post Dec 22 2005, 11:53 AM
hmm klind of strange to miss out conn.php its like a vital part of the login system. I am wondering whether this person actually coded it him self or stole it from some one else cos if he coded it him self he woluld not have left out conn.php. Just a thought thats all.

Yeah good script for beginners could have doen without the errors cos I got conn.php errors too sad.gif. good base for a login script thou, at least now I wont forget any of the code requiired...
Go to the top of the page
+Quote Post
sxyloverboy
no avatar
Super Member
*********
Group: Members
Posts: 302
Joined: 17-June 05
From: Frankfurt, Germany
Member No.: 8,358



Post #18 post Dec 23 2005, 07:47 PM
someone this dosent work for me. has anybody actualy tried this thing out and gotten it to work? someone other than the guy who posted it?
Go to the top of the page
+Quote Post
bucksta
no avatar
Advanced Member
*******
Group: Members
Posts: 127
Joined: 6-December 05
Member No.: 15,438



Post #19 post Jan 4 2006, 12:17 AM
i know lots of php login systems. i tried this one. pretty decent...
Go to the top of the page
+Quote Post
Dooga
no avatar
Moderator
Group Icon
Group: [MODERATOR]
Posts: 1,344
Joined: 26-December 04
From: Canada
Member No.: 2,940
myCENT:46.53



Post #20 post Jan 6 2006, 12:27 AM
I think I know why it's missing conn.php and that it doesn't work. Perhaps a copied article? Even if it is wrapped in quotes, please avoid using other people's articles. Thanks
Go to the top of the page
+Quote Post

6 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No new 20 BuffaloHELP 433 19th October 2008 - 01:41 AM
Last post by: BuffaloHELP
No New Posts   1 flashyflashy 740 1st August 2004 - 06:19 AM
Last post by: Florisjuh
No New Posts   2 georgewar 439 6th August 2004 - 03:33 PM
Last post by: Xenon
No New Posts   2 georgewar 381 4th August 2004 - 12:32 PM
Last post by: Spectre
No New Posts   2 zachtk8702 497 13th August 2004 - 04:26 PM
Last post by: zachtk8702
No New Posts   0 DjLuki 905 4th July 2006 - 07:19 AM
Last post by: DjLuki
No New Posts   1 dundun2007 397 3rd September 2004 - 02:24 AM
Last post by: serverph
No New Posts   6 Critical_Impact 437 10th September 2004 - 07:20 PM
Last post by: groentjuh
No New Posts   5 Critical_Impact 396 11th September 2004 - 12:19 AM
Last post by: Critical_Impact
No New Posts   1 pollux1er 733 24th July 2007 - 11:13 PM
Last post by: matak


 



RSS Lo-Fi Version Time is now: 3rd December 2008 - 11:44 PM