phplib-users Mailing List for PHPLIB (Page 73)
Brought to you by:
nhruby,
richardarcher
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(106) |
Sep
(99) |
Oct
(44) |
Nov
(97) |
Dec
(60) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(56) |
Feb
(81) |
Mar
(134) |
Apr
(69) |
May
(106) |
Jun
(122) |
Jul
(98) |
Aug
(52) |
Sep
(184) |
Oct
(219) |
Nov
(102) |
Dec
(106) |
2003 |
Jan
(88) |
Feb
(37) |
Mar
(46) |
Apr
(51) |
May
(30) |
Jun
(17) |
Jul
(45) |
Aug
(19) |
Sep
(5) |
Oct
(4) |
Nov
(12) |
Dec
(7) |
2004 |
Jan
(11) |
Feb
(7) |
Mar
|
Apr
(15) |
May
(17) |
Jun
(13) |
Jul
(5) |
Aug
|
Sep
(8) |
Oct
(6) |
Nov
(21) |
Dec
(13) |
2005 |
Jan
(4) |
Feb
(3) |
Mar
(7) |
Apr
(7) |
May
|
Jun
(11) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
2006 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
(5) |
2007 |
Jan
(15) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
|
Jun
(3) |
Jul
(1) |
Aug
(19) |
Sep
(2) |
Oct
|
Nov
|
Dec
(6) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
From: Darryl M. <dar...@op...> - 2002-02-26 13:15:48
|
Hello All, I've just started to follow this thread of discussion about Default Authentication and was having similar difficulty myself in coming up with an elegant solution to my dilema which sounds similar to what a few of you are experiencing. Basically I wanted a website that had a menu along the top to access items such as forums, articles, files etc and also a menu down the lefthand side with a login form in this menu. Once the user logs in he/she can access the protected pages but also view the non protected pages with a personalised welcome message. I tried to use the Default Auth method as suggested by Chris however when my login page is posted no authentication occurs even though the globals $username and $password are present in the HTTP vars. It seems like I'll have to send a flag/hidden field from the login page to say I want to auth the user now and change the page_open() on each page to include authorisation. Not sure what other way you could go about this. Does anybody else have any suggestions? While I was writing this I thought it'd be good if there was a permissions of 'all' so if a user with uid of 'nobody' entered the site and came across a page that had permissions of 'all' they could acess it however if they hit a page of 'user' or 'admin' then they'd be taken to a page that says you don't have permissions to acess that page and asks you to login. Anybody else have any thoughts on this? Regards Darryl |
From: Tarique S. <ta...@sa...> - 2002-02-26 02:32:28
|
On Mon, 25 Feb 2002, Paolo Torelli wrote: Hi Paolo, Looks like a browser cache problem Set your browser to get the page everytime form the server and see what happens HTH Tarique > Hello. > > I just tried to install phplib 7.2d on a system with apache-1.3.23, > php-4.1.1, mysql-3.23.47; I used the quick-install guide. > The included examples seem to work, except for the authentication. > > I did run the script to create the session/authentication tables, yet > entering kris/test will do quite nothing: after pressing "Login Now" the > very same login screen is shown as soon as the page is reloaded, and no > new entry is created in the database table active_sessions. > > Also, on the first access to the homepage nothing is shown (just like > about:blank). Only entering the site name again makes the right page > appear (with counter=1) > > I was not successful with non-cookied access (blank page every time) > > Any help is welcome, I'm not getting anywhere. > > Thank you in advance! > Paolo Torelli > > --- > > > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Paolo T. <pao...@st...> - 2002-02-25 21:21:46
|
Hello. I just tried to install phplib 7.2d on a system with apache-1.3.23, php-4.1.1, mysql-3.23.47; I used the quick-install guide. The included examples seem to work, except for the authentication. I did run the script to create the session/authentication tables, yet entering kris/test will do quite nothing: after pressing "Login Now" the very same login screen is shown as soon as the page is reloaded, and no new entry is created in the database table active_sessions. Also, on the first access to the homepage nothing is shown (just like about:blank). Only entering the site name again makes the right page appear (with counter=1) I was not successful with non-cookied access (blank page every time) Any help is welcome, I'm not getting anywhere. Thank you in advance! Paolo Torelli --- |
From: Tarique S. <ta...@sa...> - 2002-02-22 10:11:17
|
> At 02:33 22-02-2002, Tarique Sani <ta...@sa...> wrote: > >On Fri, 22 Feb 2002, Peter Termaten wrote: > > > > > Do I miss something, or is this an issue? If so, a fix would be nice. > > > >Yes this is an issue BUT there is an acceptable JS + ereg workaround in > >most cases > > > > Agreed. We could save a lot of time by at least decribing this behaviour in > the documentation. Maybe a remark in the new PHPLIB online doc you > conducted? I'll be happy to do that. Notes about such things are precisely what are needed at the new documentation site Go ahead add a note on the URL below !! http://www.sanisoft.com/phplib/manual/oohforms.php I will be first to rate it a 5 :-) Cheers Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Peter T. <pte...@te...> - 2002-02-22 09:08:36
|
At 02:33 22-02-2002, Tarique Sani <ta...@sa...> wrote: >On Fri, 22 Feb 2002, Peter Termaten wrote: > > > Do I miss something, or is this an issue? If so, a fix would be nice. > >Yes this is an issue BUT there is an acceptable JS + ereg workaround in >most cases > Agreed. We could save a lot of time by at least decribing this behaviour in the documentation. Maybe a remark in the new PHPLIB online doc you conducted? I'll be happy to do that. -- Peter > > As a workaround I'll stop using the Javascript option by not using > $jvsname > > and rely on ereg/eregi in self_validate. > >YES! where the above is not possible rely on server side validation. > >Hope that helps > >Tarique > >-- >============================================================= >PHP Applications for E-Biz: http://www.sanisoft.com > >Indian PHP User Group: http://groups.yahoo.com/group/in-phpug >============================================================= |
From: Tarique S. <ta...@sa...> - 2002-02-22 01:49:02
|
On Fri, 22 Feb 2002, Peter Termaten wrote: > Do I miss something, or is this an issue? If so, a fix would be nice. Yes this is an issue BUT there is an acceptable JS + ereg workaround in most cases > As a workaround I'll stop using the Javascript option by not using $jvsname > and rely on ereg/eregi in self_validate. YES! where the above is not possible rely on server side validation. Hope that helps Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Peter T. <pte...@te...> - 2002-02-21 23:08:26
|
Hi, I noticed some strange behaviour in the text validation logic of OOHForms: When using the Start method whith the $jvsname argument, some Javascript will be generated for validation purposes (triggered by method Validate()). This is handled in'"self_get_js" in the "of_text" extension of "of_element" in of_text.inc. The validation uses the Javascript RegExp object and evaluates against the regular expression in $valid_regex. So far so good. However, after the Javascript correctly evaluates your input string, the function "self_validate" is called. Self_validate evaluates the string again, using PHP functions ereg or eregi and $valid_regex as expression again. The problem now is that Javascript and ereg use different evaluation methods. Although there is an overlap, an expression valid for Javascript is not necessarily valid for ereg/eregi: try for instance ^[\\\w+]*$ as regexp: OK in Javascript, but not in ereg and thus causing some nasty problems in the code. Another nice one to try: ^[[:xdigit:]]*$ (this so called character class validates hexadecimal chars in ereg and has no meaning in Javascript). Do I miss something, or is this an issue? If so, a fix would be nice. As a workaround I'll stop using the Javascript option by not using $jvsname and rely on ereg/eregi in self_validate. Cheers, Peter |
From: Peter T. <pte...@te...> - 2002-02-20 21:11:16
|
Check out www.lyx.org Lyx is a so called WYSIWIM text processor and capable of generating Docbook sgml documents, using sgmltools. (Unfortunately import functions are limited, but it's fairly easy to cut and paste an ASCII file into Lyx format). Tool is not completed yet, but usable. (alternatively you could use emacs, but in my opinion less user friendly. An example of Lyx usage can be found here: The Linux+IPv6-HOWTO, maintained by Peter Bieringer. Hint: use fix4, there are some bugs in previous version regarding the generated SGML code (e.g. "colspec" tag and "<" chars in code-formatted lines). LyX file is available at (there are also some Perl tools there): http://cvsview.linuxdoc.org/index.cgi/users/Peter-Bieringer/ and the exported SGML: http://cvsview.linuxdoc.org/index.cgi/howto/docbook/Linux%2bIPv6-HOWTO.sgml and the LDP generated HTTP: http://www.linuxdoc.org/HOWTO/Linux+IPv6-HOWTO/index.html Let me know if I can assist in some way. Cheers, Peter At 16:41 20-02-2002, Joe Stewart wrote: >Which sources for the docs are you using? > >I don't know much at all about it but this should do the basic conversion >shouldn't it? > > sgmltools -b ld2db documentation.sgml > >Or something similar. > >Can we get this on the phplib site? > >Joe > >On Wed, Feb 20, 2002 at 06:18:26PM -0600, nathan r. hruby wrote: > > > > Do you have any recommendations on Docbook editors or p[oitners to the > > format? I'll help when I can but I don't know nuthin' bout no DocBook. > > > > -n > > > > ------ > > nathan hruby > > na...@ds... > > ------ > > > > On Wed, 20 Feb 2002, Tarique Sani <ta...@sa...> wrote: > > > > > > > > If you are refering to http://www.sanisoft.com/phplib - the site is > > > incomplete - I am looking for volunteers to complete the DocBook XML > > > > > > > > >_______________________________________________ >Phplib-users mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phplib-users |
From: Tarique S. <ta...@sa...> - 2002-02-20 16:44:24
|
On Wed, 20 Feb 2002, Dr Tarique Sani <ta...@na...> wrote: > Sadly there are no *open source* DocBook editors that I know of but the Before someone jumps on me I would like to clarify the above "no OpenSource WYSIWYG DocBook editors" available Tarique -- ============================================================= PHP Applications for E-Biz: http://www.sanisoft.com Indian PHP User Group: http://groups.yahoo.com/group/in-phpug ============================================================= |
From: Ben C. <php...@be...> - 2002-02-20 16:38:56
|
Emacs + psgml is a great editor for docbook. I use it all the time for both docbook sgml and xml. On Wed, Feb 20, 2002 at 06:18:26PM -0600, nathan r. hruby wrote: > > Do you have any recommendations on Docbook editors or p[oitners to the > format? I'll help when I can but I don't know nuthin' bout no DocBook. > > -n > > ------ > nathan hruby > na...@ds... > ------ > > On Wed, 20 Feb 2002, Tarique Sani <ta...@sa...> wrote: > > > > > If you are refering to http://www.sanisoft.com/phplib - the site is > > incomplete - I am looking for volunteers to complete the DocBook XML > > > > > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users |
From: Dr T. S. <ta...@na...> - 2002-02-20 15:50:19
|
On Wed, 20 Feb 2002, nathan r. hruby wrote: > Do you have any recommendations on Docbook editors or p[oitners to the > format? I'll help when I can but I don't know nuthin' bout no DocBook. Sadly there are no *open source* DocBook editors that I know of but the XML is simple enough to get going on a sunday afternoon Look up http://www.docbook.org I was hoping someone other than the usual memenbers would come formward to help ;-) Cheers Tarique -- ========================================================== PHP Applications for E-Biz : http://www.sanisoft.com The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com ========================================================== |
From: Joe S. <jo...@be...> - 2002-02-20 15:36:49
|
Which sources for the docs are you using? I don't know much at all about it but this should do the basic conversion shouldn't it? sgmltools -b ld2db documentation.sgml Or something similar. Can we get this on the phplib site? Joe On Wed, Feb 20, 2002 at 06:18:26PM -0600, nathan r. hruby wrote: > > Do you have any recommendations on Docbook editors or p[oitners to the > format? I'll help when I can but I don't know nuthin' bout no DocBook. > > -n > > ------ > nathan hruby > na...@ds... > ------ > > On Wed, 20 Feb 2002, Tarique Sani <ta...@sa...> wrote: > > > > > If you are refering to http://www.sanisoft.com/phplib - the site is > > incomplete - I am looking for volunteers to complete the DocBook XML > > > > |
From: nathan r. h. <na...@ds...> - 2002-02-20 14:46:46
|
Do you have any recommendations on Docbook editors or p[oitners to the format? I'll help when I can but I don't know nuthin' bout no DocBook. -n ------ nathan hruby na...@ds... ------ On Wed, 20 Feb 2002, Tarique Sani <ta...@sa...> wrote: > > If you are refering to http://www.sanisoft.com/phplib - the site is > incomplete - I am looking for volunteers to complete the DocBook XML > |
From: Tarique S. <ta...@sa...> - 2002-02-20 04:05:47
|
On Tue, 19 Feb 2002, Brian Popp wrote: > I recently inherited a new project that will require some very basic > shopping cart functionality. I know this used to be in PHPLib, but in the > newest documentation, I didn't see it listed. Has this been It is very much there and works well If you are refering to http://www.sanisoft.com/phplib - the site is incomplete - I am looking for volunteers to complete the DocBook XML HTH Tarique -- ========================================================== PHP Applications for E-Biz : http://www.sanisoft.com The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com ========================================================== |
From: Brian P. <bp...@ct...> - 2002-02-19 18:30:32
|
I recently inherited a new project that will require some very basic shopping cart functionality. I know this used to be in PHPLib, but in the newest documentation, I didn't see it listed. Has this been officially/unofficially removed? If not, how well does it work? If so, does anyone know of something else that would work better, while still being compatible with PHPLib sessions and authentication? I could write it myself, but I'd rather not unless I absolutely have to. Thanks for any help! bpopp |
From: Brian P. <bp...@ct...> - 2002-02-19 18:27:02
|
Very nice indeed! -----Original Message----- From: Mike Green [mailto:Mik...@sa...] Sent: Saturday, February 16, 2002 8:16 AM To: Tarique Sani <ta...@sa...> Cc: php...@li... Subject: Re: [Phplib-users] PHPlib Manual is online!! Thanks immensely, Tarique!!! You deserve a gold medal! "Tarique Sani " wrote: > Hello Folks, > > I have just put up an experimental version of PHPlib manual with PHP.net > style add notes etc > > Even though not all the sections are complete the major part is working > > Have a look at http://www.sanisoft.com/phplib > > I am looking for volunteers who know DocBook XML to help complete the > manual > > Please use the add notes feature judiciously > > Report bugs to ta...@sa... > > Enjoy > > Tarique > > -- > ========================================================== > PHP Applications for E-Biz : http://www.sanisoft.com > > The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com > ========================================================== > > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users -- Mike Green SaeSolved:: http://www.saesolved.com http://www.everypeople.net http://www.sitewidgets.com http://www.widgetchuck.com _______________________________________________ Phplib-users mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phplib-users |
From: Joe S. <jo...@be...> - 2002-02-18 21:36:52
|
I believe these are links to previous discussions of this problem and a solution: http://marc.theaimsgroup.com/?l=phplib&m=94269299705992&w=2 http://marc.theaimsgroup.com/?l=phplib&m=97181231423086&w=2 http://marc.theaimsgroup.com/?l=phplib&m=97491904918866&w=2 Joe On Wed, Feb 13, 2002 at 11:05:03AM -0700, Jacob Hanson wrote: > Hi list, > > I've got a auth system based heavily on the examples in the docs. > > A little background: > home.php: the "index page" for an authenticated user > welcome.php: my login form (replacing loginform.ihtml) > > Basically, you go to the site and are taken to home.php. You're not > authenticated yet, so you see welcome.php. You can then log in and > access the rest of the site. This works great. > > Now, I show a footer on all pages (including welcome.php) that has > copyright info with links to a few things such as a Terms of Use > document. All documents and articles on the site are viewed through > library.php (which parses the articles into a template). Library.php > uses my normal auth class and works fine, as long as the user is logged > in, which is what I want...most of the time. > > However, I need to be able to grant access to Terms of Use, etc. to > users who haven't logged in (such as viewing the document from > welcome.php). > > The Default Auth feature seems like it should do the trick, but it's > not working. I've set library.php to use my default_auth subclass, but > I'm still getting the login page when I try to access library.php. > > My default_auth subclass is just like the one in the docs. > > Any ideas? > > Thanks, > > Jacob |
From: nathan r. h. <na...@ds...> - 2002-02-18 20:31:00
|
Should be fine, so long as you're not testing the session-4 stuff. I really have to do a bug day sometime soon and make a pre2.. Argh! -n ------ nathan hruby na...@ds... ------ On Mon, 18 Feb 2002, Mike Green wrote: > I've missed seeing them or there have been no comments on 7.4-pre1, > other than that it is available. Has anyone been using it? What is its > stability: good, mediocre, frightful? ;-) Would you use it for a demo? > For production? Not at all? > > (I'm interested in possibly trying 7.4-pre1 for a small demo project. > But I don't want to lose bundles of time swatting bugs.) > > Cheers! > > Mike Green > > > > > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > |
From: Mike G. <Mik...@sa...> - 2002-02-18 20:04:12
|
I've missed seeing them or there have been no comments on 7.4-pre1, other than that it is available. Has anyone been using it? What is its stability: good, mediocre, frightful? ;-) Would you use it for a demo? For production? Not at all? (I'm interested in possibly trying 7.4-pre1 for a small demo project. But I don't want to lose bundles of time swatting bugs.) Cheers! Mike Green |
From: Tarique S. <ta...@sa...> - 2002-02-17 03:33:00
|
Just a test to see archieveing Please ignore T -- ========================================================== PHP Applications for E-Biz : http://www.sanisoft.com The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com ========================================================== |
From: Tarique S. <ta...@sa...> - 2002-02-17 03:07:19
|
On Sat, 16 Feb 2002, Tarique Sani <ta...@sa...> wrote: Hello Again Folks, An Errata!! A wrong version of DB_sql page was loaded my PHPlib Manual site - this has been corrected now Thanks to everyone for the encouraging response Cheers Tarique > Hello Folks, > > I have just put up an experimental version of PHPlib manual with PHP.net > style add notes etc > > Even though not all the sections are complete the major part is working > > Have a look at http://www.sanisoft.com/phplib > > I am looking for volunteers who know DocBook XML to help complete the > manual > > Please use the add notes feature judiciously > > Report bugs to ta...@sa... > > Enjoy > > Tarique > > -- ========================================================== PHP Applications for E-Biz : http://www.sanisoft.com The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com ========================================================== |
From: Mike G. <Mik...@sa...> - 2002-02-16 14:17:28
|
Thanks immensely, Tarique!!! You deserve a gold medal! "Tarique Sani " wrote: > Hello Folks, > > I have just put up an experimental version of PHPlib manual with PHP.net > style add notes etc > > Even though not all the sections are complete the major part is working > > Have a look at http://www.sanisoft.com/phplib > > I am looking for volunteers who know DocBook XML to help complete the > manual > > Please use the add notes feature judiciously > > Report bugs to ta...@sa... > > Enjoy > > Tarique > > -- > ========================================================== > PHP Applications for E-Biz : http://www.sanisoft.com > > The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com > ========================================================== > > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users -- Mike Green SaeSolved:: http://www.saesolved.com http://www.everypeople.net http://www.sitewidgets.com http://www.widgetchuck.com |
From: <fr...@on...> - 2002-02-16 14:16:19
|
On Fri, Feb 15, 2002 at 09:57:50PM -0500, Christian Roy wrote: > Why should it? I think it's perfectly normal for someone to access a > protected page and then hit "Home" link of the menu! From a user point of > view, having to hit "cancel" on the login form to access the non-protected > pages is not natural. Once logged in it should work fine to move freely back and forth among those pages that require login and those that don't, without the visitor having to log in again (for the life of the session). I've created some phplib-based sites that work just that way. It's only the login form/page itself that is modal. > The home page will show different things depending if the user is logged > in or not. That's easy to do: if (isset($auth) and isset($auth->auth['uname'])) // display stuff for logged-in user else // display stuff for default user (I don't think it works to test $auth->auth['uid'], but I forget why.) > When the user hit a protected page and decide to go back to the > home page, he should still be logged in as "nobody"! He should not be > presented with a login form on the home page, ever! If the "cancel button" method is not sufficient for you, then you may have to hack phplib. As you say, "good luck"! -- Fred Yankowski fr...@on... tel: +1.630.879.1312 OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370 www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA |
From: Tarique S. <ta...@sa...> - 2002-02-16 12:21:05
|
Hello Folks, I have just put up an experimental version of PHPlib manual with PHP.net style add notes etc Even though not all the sections are complete the major part is working Have a look at http://www.sanisoft.com/phplib I am looking for volunteers who know DocBook XML to help complete the manual Please use the add notes feature judiciously Report bugs to ta...@sa... Enjoy Tarique -- ========================================================== PHP Applications for E-Biz : http://www.sanisoft.com The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com ========================================================== |
From: Tarique S. <ta...@sa...> - 2002-02-16 04:13:48
|
On Fri, 15 Feb 2002, Christian Roy wrote: > I have the same problem here. > > > If you set it up right, clicking the "Cancel" button on the login form > > will get you out of the modal login state and back to some accessible > > page. > > My 7.2d didn't come with a login form with a "Cancel" button! > Unless I missed something? No the default form is minus the cancel button <input type="submit" name="cancel_login" value="Cancel Login"> Put this in the login form > > The login form/page acts much like a modal dialog box -- the > > visitor should exit it via one of the form's submit buttons. > > Why should it? I think it's perfectly normal for someone to access a > protected page and then hit "Home" link of the menu! From a user point of > view, having to hit "cancel" on the login form to access the non-protected > pages is not natural. Back button will work for a page without auth BUT for an authenticated page you have to hit cancel login There was a solution to this long back on the older list though HTH Tarique P.S. i this does not make it to the list please post it there :-) -- ========================================================== PHP Applications for E-Biz : http://www.sanisoft.com The Ultimate Ghazal Lexicon: http://www.aaina-e-ghazal.com ========================================================== |