1. #1 by Zach on February 13, 2010 - 5:39 am

    Thanks a bunch for this tutorial.
    I’m using it as a basis for a small file hosting app for some friends and family.
    I’m having some drama with adding password changing, ive messed around with the script and also the addition another user posted in the comments.
    I can change the password, but for some reason, its not changing to the password I enter into the form.

    All that aside, I am curious about the security aspects of the script, maybe that could be a topic for some more tutorials, I would really love to build on this script and you’ve made it so easy to this point!

    Keep up the good work, I look forward to more =)

    • #2 by Bhavik on February 21, 2010 - 10:16 pm

      Hey thanks for the comments! Im working on redoing this entire login system using a php framework (codeigniter or cakephp) to show a better/easier way of developing in php. This is going to take awhile though, very busy lately with work and school. This will address the security issues.

      • #3 by amandeep on October 28, 2010 - 1:51 am

        hello sir, how can i create login system in my website tell me some thing?

      • #4 by amandeep on October 28, 2010 - 1:53 am

        please tell me how to create login system step by step

  2. #5 by Mohd on March 31, 2010 - 8:25 am

    Great tutorial, and very clean script
    I like it
    hopefully that part of uploading pictures is well secured

    • #6 by kohinoor on January 5, 2012 - 10:33 am

      error error kai khabar j nathi padti su karvu
      bhai kaik sikhdavo

  3. #7 by stan on May 3, 2010 - 4:26 am

    i love this tutorial. i’m a beginner with php and this was the first truly user interactive tutorial i could follow well and manage to manipulate a bit here and there. i really love it.
    i agree that an easy user-login would be wonderful. also, is there a way to transfer the session to other folders? like all my stuff in the main directory loads the session, but the php files in my subdirectories don’t use it. i even tried to copy the db_connect file into the subdirectory, to no avail.

    anyhow, GREAT tutorial, and i really look forward to more. i have some suggestions for future tutorials (things i’ve personally scoured the net for and can’t find) if you’d be so willing. haha.

  4. #8 by Justin on October 21, 2010 - 2:25 am

    Hey Bhavik,

    Great tutorial, everything is laid out perfect for understanding what you’re writing. I love this code because of the simplicity and flexibility.

    My only concern is the security issues, I read some of your comments saying you were planning on writing an article on how to fix the security issues and was wondering if you still plan to release this article any time soon. I would love to use your code but would want to make sure it’s safe for use!

    Thanks again, Bhavik – Much appriciated.

  5. #9 by Liam on November 1, 2010 - 8:32 am

    hey, i have the same problem that another user has mentioned. when i upload a photo, i get the confirmation alert and the photo seems to upload/display correctly, however, when i want to delete the photo, the photo gets deleted but i get brought back to the profilecp page with all form fields empty. i have tried all sorts with the query to fix but with no joy :(

  6. #10 by Michael on February 17, 2011 - 10:33 am

    Hey, I have used your tutorial to help me get started on my very own social networking website and this has helped me a lot, thank you so much for this tutorial. Although I do have a few problems with the image uploading and I would like your help, when I upload an image file the thumbnail is just a black image and doesn’t show any of the actual image which was uploaded. Secondly, if I try deleting any of the images, it deletes the main image but not the thumbnail or clear the data in the SQL database. And lastly, I can upload any file type I want to my server which I don’t really want to have, I just want to limit it to images, how do I go about fixing any of these problems?

    I would be very grateful if you could take your time and help me on this so I can just make it that bit more secure.

    Regards,
    Michael.

  7. #11 by Vinay on April 16, 2011 - 1:02 am

    Thank you for making such a good tutorial for newbies like me,sir..I read lot of articles before designing a login system but none were as effective as yours.My only doubt is,how do we add a CAPTCHA image to the form to prevent it from being spammed..

  8. #12 by Phin on May 3, 2011 - 10:52 pm

    Thanks a lot, very good to follow up and works fine. I wish you had user management side of it as well:)
    Thanks again.

    Phin

  9. #13 by jon on July 16, 2011 - 5:56 am

    hi there thanks for this code/tut, its really easy to follow
    i’ve learnt alot form it…

    i followed through it and installed it on a test site, social.spurgurgle.com

    but it seems not to work… well i load up the site click register and fill out some dummy info… then when i click the “register” button i get this error message…

    “Fatal error: Call to undefined function protect() in /home/spurg/public_html/social/register.php on line 61″

    now from the error message it seems that u havent defined the protect function??? am i correct in thinking this??? or is it i’ve just done something stupid or missed somethign out???

    • #14 by jon on July 16, 2011 - 6:20 am

      woops i sorted my issue… i missed out the O in prOtect in the db_connect.php….. woops.. nice good cheers mate….

      now onto making it more secure and styling it to my tastes

  10. #15 by joseph on August 23, 2011 - 9:51 pm

  11. #16 by Mehdi Baaboura on October 22, 2011 - 2:35 pm

    Very cool! Thanks a lot for this Tutorial!

Comments are closed.