Re: Auth feature

From: Date: Mon, 07 Apr 2003 12:01:53 +0000
Subject: Re: Auth feature
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14972@lists.php.net to get a copy of this message
Hi, Yavor Shahpasov schrieb:
c) How do you want to populate the necessary JavaScript code? Currently the PEAR installer can't place a file in a document root.
two options here either have the save script code in the slass it's self, or in a second .js file which will be included include("Auth/md5.js"), I know it is an ugly way to do it but those are the options I see, alternativly you could include it from the pear/data dir but am not sure how that can happen.
I already initiated a disscussion some weeks ago about shipping common Javascript stuff with PEAR. It ended up that Pierre-Alain Joye offered the possibility to add JS-Stuff, wich is useful for many packages, to the HTML_Javascript package, but actualy it isn't done, maybe he was to busy to do this. I don't know about your md5.js, but I found one wich is binary safe, and also has some more options, take a look at: http://www.bretterklieber.com/php/pear/Auth_CHAP/js/ bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - Michael.Bretterklieber@jawa.at JAWA Management Software GmbH - http://www.jawa.at Liebenauer Hauptstr. 200 -------------- privat ------------ A-8041 GRAZ GSM: ++43-(0)676-84 03 15 712 Tel: ++43-(0)316-403274-12 E-mail: michael@bretterklieber.com Fax: ++43-(0)316-403274-10 http://www.bretterklieber.com ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972

« previous php.pear.dev (#14972) next »