Thread: [Phplib-users] New phpauth code
Brought to you by:
nhruby,
richardarcher
|
From: Michael C. <mdc...@mi...> - 2002-05-06 16:59:14
|
I've been promising this for a year, but it's undergone plenty of refinement to make it worthwhile. You can download my new phpauth code at: http://www.phpauth.com/ This is a replacement for the authentication functionality of phplib. It only works with php4, and relies on php4's sessioning. It works with register_globals turned off, and requires that magic_quotes also be turned off. It's nearly a drop-in replacement for phplib. I am using this code on 5 production sites currently, so it should work fine. If you're looking at an easy upgrade path from phplib for php4, this is it. A few of the features that separate it from phplib: 1. uses php4 sessioning 2. register_globals off (more secure) 3. form variables are passed through login/registration forms 4. auth class doesn't exist unless they are authenticated See the docs directory and sample site (http://sample.phpauth.com/) for more details. Michael -- Michael Darrin Chaney mdc...@mi... http://www.michaelchaney.com/ |
|
From: Chris J. <ch...@ch...> - 2002-05-06 17:27:37
|
Sounds fantastic! I just tried to download it, though, and got 404-not found errors. ..chris ----- Original Message ----- From: "Michael Chaney" <mdc...@mi...> I've been promising this for a year, but it's undergone plenty of refinement to make it worthwhile. You can download my new phpauth code at: http://www.phpauth.com/ This is a replacement for the authentication functionality of phplib. It only works with php4, and relies on php4's sessioning. It works with register_globals turned off, and requires that magic_quotes also be turned off. It's nearly a drop-in replacement for phplib. I am using this code on 5 production sites currently, so it should work fine. If you're looking at an easy upgrade path from phplib for php4, this is it. A few of the features that separate it from phplib: 1. uses php4 sessioning 2. register_globals off (more secure) 3. form variables are passed through login/registration forms 4. auth class doesn't exist unless they are authenticated See the docs directory and sample site (http://sample.phpauth.com/) for more details. Michael -- |
|
From: nathan r. h. <na...@ds...> - 2002-05-06 19:39:56
|
That's becaue you weren't auth()'ed and it was hiding. ;-) -n ------ nathan hruby na...@ds... ------ On Mon, 6 May 2002, Chris Johnson wrote: > Sounds fantastic! > > I just tried to download it, though, and got 404-not found errors. > > ..chris > > ----- Original Message ----- > From: "Michael Chaney" <mdc...@mi...> > > I've been promising this for a year, but it's undergone plenty of > refinement to make it worthwhile. > > You can download my new phpauth code at: > http://www.phpauth.com/ > > This is a replacement for the authentication functionality of phplib. > It only works with php4, and relies on php4's sessioning. It works with > register_globals turned off, and requires that magic_quotes also be > turned off. It's nearly a drop-in replacement for phplib. > > I am using this code on 5 production sites currently, so it should work > fine. > > If you're looking at an easy upgrade path from phplib for php4, this is > it. > > A few of the features that separate it from phplib: > > 1. uses php4 sessioning > 2. register_globals off (more secure) > 3. form variables are passed through login/registration forms > 4. auth class doesn't exist unless they are authenticated > > See the docs directory and sample site (http://sample.phpauth.com/) for > more details. > > Michael > -- > > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > |
|
From: Saulius <sa...@ye...> - 2002-05-06 20:12:08
|
Hello, > You can download my new phpauth code at: > http://www.phpauth.com/ Hm. It looks like, your site isn't working a bit. I can't download it. I try to register in your site, but get response that my email is invalid. Althought my email is valid for years (not this but other). And why must I register for downloading? Bye, Saulius |
|
From: Michael C. <mdc...@mi...> - 2002-05-06 20:50:56
|
On Mon, May 06, 2002 at 10:11:59PM +0200, Saulius wrote: > Hello, > > > You can download my new phpauth code at: > > http://www.phpauth.com/ > > Hm. It looks like, your site isn't working a bit. I can't download it. I fixed it. Missed an "s" in "downloads". > I try to register in your site, but get response that my email is invalid. > Althought my email is valid for years (not this but other). The email address is checked against a simple regular expression. preg_match('/^([a-z0-9\-_\.\&]+)@([a-z0-9\-]+\.)+[a-z]+$/',$email); I assume you're mixing case (email addresses and domain names are case insensitive). > And why must I register for downloading? I have no idea why you would think that you must. That's a sample site so that you can see it work. Michael -- Michael Darrin Chaney mdc...@mi... http://www.michaelchaney.com/ |
|
From: Tarique S. <ta...@sa...> - 2002-05-07 05:12:02
|
On Mon, 6 May 2002, Michael Chaney wrote: > I've been promising this for a year, but it's undergone plenty of > refinement to make it worthwhile. Great!! I presume you are not asking it to be integrated with PHPlib Are you? If my presumption is right then you can ask anyone who does not like your code to "Get lost" BUT in the unlikely event my presumption is wrong then - I would say "Get lost" Cheers Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
|
From: Michael C. <mdc...@mi...> - 2002-05-07 14:33:44
|
On Tue, May 07, 2002 at 10:23:12AM +0530, Tarique Sani <ta...@sa...> wrote: > On Mon, 6 May 2002, Michael Chaney wrote: > > > I've been promising this for a year, but it's undergone plenty of > > refinement to make it worthwhile. > > Great!! > > I presume you are not asking it to be integrated with PHPlib > > Are you? Indeed, your presumption is right. For those not using the templating system in phplib, I believe that I have a better alternative. Again, this isn't a slam on phplib, I have a lot more flexibility since I don't need to be backward compatible. Michael -- Michael Darrin Chaney mdc...@mi... http://www.michaelchaney.com/ |
|
From: Richard A. <rh...@ju...> - 2002-05-07 14:53:58
|
At 9:39 AM -0500 7/5/02, Michael Chaney wrote: >Indeed, your presumption is right. For those not using the templating >system in phplib, I believe that I have a better alternative. Again, >this isn't a slam on phplib, I have a lot more flexibility since I don't >need to be backward compatible. OK, that's sorted. Are you done spamming your wares on this list now? ...R. |