SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member BZON Erik's Avatar
    Join Date
    Oct 2001
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Kev's PHP/MySQL/Session Question

    Everything worked out for me for this tutorial. I mostly copied and pasted of course, but I fixed all the connect stuff. Also I was looking around trying to see how it works more.

    The one thing I can't get is on the last page of the tutorial it says you can make options where they can change their passwords. Well, how would I do that? Also it says some other things. If anyone has done this or could do this it would be VERY helpfull!

    Thanks in advance and happy holidays!
    CEO of Below Zero Online Networks - Coming Soon...
    I need to learn more PHP and MySQL!

  2. #2
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I put this together...unfortunately I am not at my normal computer and have no FTP access so can't show you the source code. But it goes along the lines of supplying a text field for them to change their password, they reload the page and an if(isset) checks it. But you have to be careful about unregistering the session and then reregistering it in the same operation in order to keep your users logged in. If you haven't written it in a week, I'll show you my code (when I am back from holiday!)
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •