Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14259

Re: Php login/registration page

From Richard Damon <Richard@Damon-Family.org>
Newsgroups comp.lang.php
Subject Re: Php login/registration page
References <844d52dc-57de-48bc-8d61-ef12d7696389@googlegroups.com> <m0fjdl$64d$1@dont-email.me>
Message-ID <ECKWv.296304$Q61.224596@fx13.iad> (permalink)
Organization Forte - www.forteinc.com
Date 2014-09-30 23:33 -0400

Show all headers | View raw


On 9/30/14, 8:55 PM, Jerry Stuckle wrote:
> On 9/30/2014 7:04 PM, Apple Sizat wrote:
>> Can anyone explain how i can create a registration and login page using PHP that doesnt use databases, sessions, or cookies?
>>
>> Is there a tutorial someone can point me to or could anyone tell me the method. Thanks
>>
>
> You can do it not using a database (i.e. use a flat file).  But if you
> don't use cookies and/or sessions, the login will only be active for the
> current request.  It will be forgotten as soon as the PHP script ends
> (which is before the last data is sent to the client).
>

You could add a token to every URL link to leave the page to go to the 
next page, that provides storage for the login information, as long as 
the user navigates via links on your pages.

This could be seen as a version of a "poor mans" session (implementing 
by hand what session code can take care of automatically).

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Php login/registration page Apple Sizat <afor6993@gmail.com> - 2014-09-30 16:04 -0700
  Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-30 20:55 -0400
    Re: Php login/registration page Richard Damon <Richard@Damon-Family.org> - 2014-09-30 23:33 -0400
      Re: Php login/registration page "J.O. Aho" <user@example.net> - 2014-10-01 06:51 +0200
      Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-01 08:13 -0400
        Re: Php login/registration page Richard Damon <Richard@Damon-Family.org> - 2014-10-01 22:37 -0400
        Re: Php login/registration page GS <nomail@nospam.org.invalid> - 2014-10-03 01:38 +0000
          Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-02 21:43 -0400
          Re: Php login/registration page Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-03 03:29 +0000
            Re: Php login/registration page Matthew Carter <m@ahungry.com> - 2014-10-03 00:24 -0400
              Re: Php login/registration page Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-03 18:33 +0000
                Re: Php login/registration page Matthew Carter <m@ahungry.com> - 2014-10-03 16:16 -0400
                Re: Php login/registration page Ed Mullen <ejEVOMER@edmullen.net> - 2014-10-03 18:24 -0500
                Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-03 20:37 -0400
  Re: Php login/registration page Michael Vilain <vilain@NOspamcop.net> - 2014-09-30 18:38 -0700
  Re: Php login/registration page gordonb.opkrz@burditt.org (Gordon Burditt) - 2014-09-30 21:08 -0500

csiph-web