Re: [pear-webmaster] help with login script

From: Date: Mon, 22 Dec 2008 22:10:31 +0000
Subject: Re: [pear-webmaster] help with login script
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29527@lists.php.net to get a copy of this message
Hi Wyatt Although most pear packages can be made to work by manually unpacking the real power with PEAR is only available when you install them with the pear installer. The Auth package isn't a very good example of this (all dependencies except the pear installer are optional) but many packages rely on several other PEAR packages. The installer will automatically check what you have installed and if you are missing one of the dependencies will automatically install it for you. Daniel O'Connor mentioned http://rudyegenias.wordpress.com/2006/10/06/installing-pear-packages-on-xampp/ which may be of some help to you in getting PEAR set up on your system. I haven't personally used xampp but found it to be far more complex with wampserver which is very similar. I would give it a try and if you have any problems you can get back in touch. What have you been doing after unpacking it? The documentation for the Auth package, which is definitely the best place to start, is very good. http://pear.php.net/manual/en/package.authentication.auth.intro.php Cheers Jonathan p.s. When you're replying can I ask that you reply to all. I know how easy it is to just go straight to the basic reply option in gmail but replying to all adds the discussion to the mailing list which can be searched by other people looking for solutions later on. 2008/12/20 Wyatt Edwards <wedwards88@gmail.com>: > I downloaded the following package: > http://pear.php.net/package/Auth > > The problem is, I am not sure I am going about it the right way. I unpacked > the folder. Should I have left it zipped up? Basically, I am wanting to > create a login system for my friend's website where people can register for > a name and password, then log into the site and access extra members only > pages. Would this be the correct package for the job and, when installing > it, do I need to leave the folder zipped? If so, how do I install the > package and test it? Thanks you in advance for your response. > > Wyatt Edwards > > On Sat, Dec 20, 2008 at 2:16 AM, Jonathan Street > <jonathan@torrentialwebdev.com> wrote: >> >> Hello Wyatt >> >> I can think of two potential problems. >> >> 1) Xampp isn't working. >> 2) You're accessing the class files directly. >> >> If you put some text in a index.html file can you view that? >> >> If you could post a link to what you downloaded that would be good. >> >> Cheers >> Jonathan Street >> >> p.s. I'm cc'ing this to the pear-general mailing list which is >> probably the more relevant. >> >> 2008/12/20 Wyatt Edwards <wedwards88@gmail.com>: >> > I downloaded an authentication script off of the pear website, but I >> > cannot >> > figure out how to test it. I downloaded xampp and put it in the >> > localhost >> > directory, but I'm not sure where to go from there. When I try to open >> > up >> > any of the files in the localhost directory, it comes up blank in the >> > web >> > browser. Would you please reply with a step by step process for for >> > using >> > the authentication script? Thanks. >> > >> > Wyatt Edwards >> > > >

« previous php.pear.general (#29527) next »