|
|
|
|
![]() ![]() |
Dec 2 2005, 02:51 AM
Post
#11
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 183 Joined: 27-June 05 From: Minnesota Member No.: 8,734 |
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 xJedix This post has been edited by jlhaslip: Dec 2 2005, 03:01 AM |
|
|
|
Dec 21 2005, 11:59 PM
Post
#12
|
|
|
Trap Double Mocha Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 2,224 Joined: 5-November 05 From: That one place over there... Member No.: 13,830 |
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
|
|
|
|
Dec 22 2005, 12:38 AM
Post
#13
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 362 Joined: 2-March 05 From: The Netherlands Member No.: 4,097 |
@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. |
|
|
|
Dec 22 2005, 02:09 AM
Post
#14
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 167 Joined: 1-October 05 Member No.: 12,407 |
I wonder if you could run that off in PHPmyCHAT.
|
|
|
|
Dec 22 2005, 04:44 AM
Post
#15
|
|
|
Moderator ![]() Group: [MODERATOR] Posts: 1,336 Joined: 26-December 04 From: Canada Member No.: 2,940 |
Thanks! I was searching for such a script in hotscripts.com for a long time! Maybe you could even submit the script...
|
|
|
|
Dec 22 2005, 08:46 AM
Post
#16
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 34 Joined: 28-October 05 Member No.: 13,491 |
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... Yeah - thanks very very very much - This is well needed, and will go to great use on the next version of my website - thanks! |
|
|
|
Dec 22 2005, 11:53 AM
Post
#17
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 87 Joined: 12-March 05 From: somewhere in the UK...if only I knew Member No.: 4,419 |
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 |
|
|
|
Dec 23 2005, 07:47 PM
Post
#18
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 302 Joined: 17-June 05 From: Frankfurt, Germany Member No.: 8,358 |
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?
|
|
|
|
Jan 4 2006, 12:17 AM
Post
#19
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 127 Joined: 6-December 05 Member No.: 15,438 |
i know lots of php login systems. i tried this one. pretty decent...
|