SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Location
    Outside Providence
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi everyone!

    I have a customer who is hosting his site on Jumpline and has PHP/MySQL access, but I'm really only familiar with ASP and Cold Fusion scripting, so I could really use some help.

    He wants to have the ability for users to register and have passwords email to them, allowing them access to the site. I'm sure with something standard like this, there has to be some samples floating around. I wondered if anyone could point me in the right direction.

    Thanks!

    April
    TEAMWORK is the fuel that allows common people
    to produce uncommon results.

  2. #2
    SitePoint Addict jamesbond's Avatar
    Join Date
    Feb 2001
    Location
    The Netherlands
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could try :

    http://www.hotscripts.com/PHP/Script...uthentication/

    Regards,
    JamesBond

  3. #3
    SitePoint Evangelist
    Join Date
    May 2000
    Location
    Canada
    Posts
    533
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cogito, ergo sum

  4. #4
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This article presents a script that does exactly what you're asking for (I should know -- I wrote it!):

    Managing Users with PHP Sessions and MySQL
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  5. #5
    SitePoint Enthusiast
    Join Date
    Jul 2000
    Location
    Outside Providence
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been putting the login and sessions in place and I've got a couple more questions.

    Is there a way I can force the pages to automatically expire, because the person can go through a couple of pages before the login request comes up (which I think is because the pages may be cached).

    They're also always being redirected to the home page, but if they've come from the membership page (maybe they had it bookmarked or something), then I'd like to allow them to go back there.

    Any ideas how this is accomplished in PHP?

    April
    TEAMWORK is the fuel that allows common people
    to produce uncommon results.


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
  •