Azrath 0 Report post Posted July 6, 2007 Thx i found this really useful Share this post Link to post Share on other sites
neeshu 0 Report post Posted July 9, 2007 cool will try this tut Share this post Link to post Share on other sites
shomazta 0 Report post Posted July 10, 2007 thanks this tutorial will definitely come in handy once I get my site up. for now I'll just test it on my local server and post up a screenshot of my results maybe Share this post Link to post Share on other sites
Ukuyo 0 Report post Posted August 19, 2007 Oh my god!Thank you so much for this script i've been looking everywhere for this kind most of them i couldnt understand still it took me a while to do this but it still worked! Share this post Link to post Share on other sites
Ukuyo 0 Report post Posted August 19, 2007 but i ahve a problem where ever i try entering my css it gives me a error please HELP! Share this post Link to post Share on other sites
Codemaster Snake 0 Report post Posted August 19, 2007 Don't you people think that creating a login script like the one mentioned with only plain php sessions can invite a lot of security related troubles.php.net themselves say that if you are going to use sessions then be sure to implement some extra security measures as they can compromise security you can find the page here: PHP SessionsIf someone is using it for just testing or learning then its ok to use them as is, but if you are planningfor a site that requires security like e-commerce website then you must apply some more securities measures to it. Like by encrypting the data etc. Share this post Link to post Share on other sites
Chyu 0 Report post Posted August 20, 2007 (edited) AMAZING!!This tutorial is so cool and easy to understand even though im just a beginner in PHP and MySql! ill be sure to use it in the near future! :XD:Alothugh dont you think the admin system is a little un secure i mean anyone could go to memberadmin.php and activate their account Edited August 20, 2007 by Chyu (see edit history) Share this post Link to post Share on other sites
iGuest 3 Report post Posted October 3, 2007 Hello guys!First of all I have to say I'm still a beginner in php. I've been trying this tutorial to see how is working and everything was OK until I got this: ERROR: User not added to database. ... probably is something I've done wrong ... i just can't figure it out why!Anyone could care and help me out? Thx.-MrNewt Share this post Link to post Share on other sites
fridley7 0 Report post Posted October 10, 2007 I am having trouble with this tutorial code, on the login page it logs me in but when it goes to the members area it automatically shoots me back to the login page. It's like it's forgetting that i logged in. I'm thinking it has something to do with the session stuff, but i'm a noob and can't figure it out. any help? Share this post Link to post Share on other sites
Life Force 0 Report post Posted October 11, 2007 Thank you very much Share this post Link to post Share on other sites
rikmg67 0 Report post Posted October 22, 2007 Thanks for this, good tutorial, however I need it to send out an email to admin, when a new user registers any ideas ?Richard. Share this post Link to post Share on other sites
Xavier 0 Report post Posted October 24, 2007 okay, do the email, you simply have to add a mail function to the script, $to = 'nobody@example.com'; //replace with the email of the administrator$subject = 'the subject'; //change it to better suit ur needs$message = 'New user signed up'; //replace the message with something else u want$headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion();mail($to, $subject, $message, $headers); insert this line of code before // Redirect to thank you page. hopefully that should work...but i have some other issue, when ever it does the login bit, and when i go to see the members page, it does not work. It simply loads the page as if the user has signed into the website but not really.the session valid user does not have any values attached to it. what could be the problem? Share this post Link to post Share on other sites
Xavier 0 Report post Posted October 24, 2007 Hello guys!First of all I have to say I'm still a beginner in php. I've been trying this tutorial to see how is working and everything was OK until I got this: ERROR: User not added to database. ... probably is something I've done wrong ... i just can't figure it out why!Anyone could care and help me out? Thx.-MrNewt ah whats the problem? what are you doing? Share this post Link to post Share on other sites
silver_wolves 0 Report post Posted October 24, 2007 im going to try this on my site. but after i get everything setup, i will create an area using this script. its really easy to follow and very good. thanks for this. Share this post Link to post Share on other sites
iGuest 3 Report post Posted October 30, 2007 I got the first part okay, but then the rest :'(Please check it out: http://forums.xisto.com/no_longer_exists/ there is an error on line 56 which is the "Header("Location: register.php?op=thanks"); " line-Daniel Share this post Link to post Share on other sites