mtWeb  Home > PHP > Login Script in PHP - Step by Step GuideSitemap  Search

Login Script in PHP - Step by Step Guide

Posted by martin on 1 Feb 2004.

How to quickly install the PHP login script without any hassle in 15 steps.

Submitted by Luke Williams.

So Martin Tsachev's PHP Login script didn't work right out of the zip for you, eh? Well neither for me, and although it may have been tough, I managed it in the end. This file is intended for people with not as much experience as myself to get it going.

First of all, this file is meant for people running a Linux system with at least a webserver, MySQL and PHP installed and running. PEAR is also recommended as I will not be explaining how to install it here, rather mentioning how to find it. I accept that most users will probably be running windows, however, and parts of this tutorial may still be helpful to them. The windows-applicable steps are marked with a *.

So, here is my tried and tested (across all of two machines!) method to get it going:

  1. Log in as root or do su, because you will need full privileges.
  2. * Unpack the files you downloaded to /var/www/html/ (windows users to where your web root directory is)
  3. * Switch to that directory and make a new directory, 'user'. (mkdir user)
  4. * Copy the login, logout and signup .php files to the user directory.
  5. * Create a new directory called lib, and copy user.php into it.
  6. * From the PHP Login Script site, download config.php and put it in the directory above html/, in most cases www/.
  7. * In index.php, login.php, logout.php and signup.php put require_once('global.php'); on the third line down.
  8. * Remove format_datetime() and format_date() functions from config.php, if they are in there.
  9. Download the following PEAR packages: DB, DB_Common, HTML_Common, HTML_Table, HTML_Form, and put them in there respective places in your /usr/share/pear/ directory. (Windows users and those who can't quite figure out this step, further instructions can be added here on request)
    Note: as a last resort you can mix the PEAR files with the script files in /var/www/html or your document root
  10. Do the following at the prompt to setup your mysql database: (if after completing a line it remains at a mysql prompt type \q to quit.)
    mysqladmin CREATE shaggy
    mysql shaggy < php-login-script.sql
    mysql shaggy
    GRANT ALL PRIVILEGES ON *.* TO shaggy@localhost IDENTIFIED BY 'password';
    
  11. * Replace the line $db = DB::connect($dsn); in config.php with these four:
    $db = DB::connect($dsn);
    if(DB::isError($db)) {
    die($db->getMessage());
    }
    
    This will alert you if there is an error with the database.
  12. This may seem pointless but I had to do it, (re)start your web services:
    /sbin/service httpd restart
    /sbin/service mysqld restart
    
  13. * Edit the begin_html functions in global.php to your liking. Or if you don't want to, replace them with these pre made ones:
    function begin_head($doctype = true) {
        echo '<html><head><title>Login here</title></head><body>';
    } // begin_head
    
    
    function begin_body() {
        echo 'Welcome to the login page.</body></html><?php ';
    } // begin_body
    
    function footer() {
        echo '</html>';
    }
  14. * If you have made sure everything is how it should be, visit your brand new php login site by typing the following in your browser address bar: http://localhost/index.php (if that doesn't work try http://127.0.0.1/index.php)
  15. Congratulations! If everything succeeded, you now have a working login and signup script. If not, contact Martin Tsachev or Luke Williams for further support.

Comments

Contacting Luke
by martin on 15 Feb 2004 6:34pm GMT

You can contact Luke Williams by email if needed.

config.php
by Phastus (phastus_coops@hotmail.com) on 21 Feb 2004 8:41pm GMT

Where is a download for config.php??

config.php
by slimbergj on 24 Feb 2004 3:00pm GMT

yes, ive searched the site, and found nothing, yet the step by step just says download it off this site..

whats going on?

config.php
by Anubis () on 25 Feb 2004 4:48am GMT

Me Three.

config.php
by Anubis () on 25 Feb 2004 4:54am GMT

Right ho found it in another page:

http://martin.f2o.org/download/poll/config.php

i like this web page
by deependra Singh Manral (sendmailtodon@yahoo.co.in) on 26 Feb 2004 12:18pm GMT

Hey bud i like the webpage but i want this page to provide the user with other good download facilities..and programmer can submit their projects here.

details.php
by Miller () on 27 Feb 2004 5:17pm GMT

does details.php needs to be in the user directory?

great
by Arnaud (acollo@yahoo.fr) on 1 Mar 2004 11:39am GMT

Thanks for this great page, but could somebody tell me how to use the PEAR files with Windows ?

html_form.php
by FrankieV () on 1 Apr 2004 11:10pm GMT

There are still a couple of files that need moving around in different directories, but the only file I can not fix is:

html_form.php

I get this:

Welcome to the login page. Warning: main(html_form.php): failed to open stream: No such file or directory in /var/www/html/user/signup.php on line 20

The PEAR HTML Form is found in "HTML/Form.php" but the class is called HTML_Form.

Can someone that got this working zip it all up and submit it?

html_form.php
by FrankieV () on 1 Apr 2004 11:13pm GMT

Ah, here it is:

html_form

config.php
by inimesk on 7 Apr 2004 7:45am GMT

Hello,

I am in step 6, i didn't find the file config.php in the PHP Login Script site, can anyone help me ?

Thanks in advance.

config.php
by inimesk on 7 Apr 2004 7:57am GMT

It's ok, i found it.

DB_Common
by Techno (hostname@omni.lt) on 7 Apr 2004 7:14pm GMT

where i can find DB_Common ?

php problem
by pancake (pancake_lee@hotmail.com) on 8 Apr 2004 1:42am GMT

I have a problem in execute 'useradd' in php to a linux server. I tried system("useradd username") but not successful I feel the problem lie within the access can I use the code above? I would be grateful if someone could reply me through mail

Problem
by Techno (hostname@omni.lt) on 10 Apr 2004 8:19pm GMT

i have problem, i configet all script and when i try register then i get error Fatal error: Call to a member function on a non-object in d:\apache\html\login\user\signup.php on line 64

when i try to login get error Fatal error: Call to a member function on a non-object in d:\apache\html\login\lib\user.php on line 55

PLEASE HELP ME!!!

db_common
by Krock () on 13 Apr 2004 10:46am GMT

where can i find db_common

--
by edi (anu_edi@yahoo.com) on 13 Apr 2004 7:13pm GMT

where i can take script for Table.php

thanx

DB_common & is_a function
by (admin@egoldtrue.com) on 17 Apr 2004 6:24pm GMT

where i can find DB_Common ? what problem for "Fatal error: Call to undefined function: is_a() in c:\apache\htdocs\DB.php on line 431" ?

pls help me, tx vm

Ready-for-use script
by Dr.Acula () on 18 Apr 2004 10:18am GMT

My script isn't working. Can some1 make a ready-4-use script that I can put in my web directory?

Encryption/Decryption
by Vinh Vu (vinhv@hotmail.com) on 24 Apr 2004 5:29am GMT

If i encrypt the password with md5 function, can it be decrypted so I can send the password to the user's email on request?? How is that possible for users want to retrieve their password?? Thanks

no .php extension
by eikcam (eikcam@internode.on.net) on 28 Apr 2004 4:07am GMT

I notice that in the script all your links do not include the .php extension. On my server this gives an error saying 'page can not be found'.

How did you manage to make your server not require the .php extension?

Thanks.

Questions Answered
by shmookey on 29 Apr 2004 12:14pm GMT

Sorry guys, haven't been watching this site as much as I should, anyway, here's my attempt to answer your questions:

eikcam: Don't know whats up with that either. Just put the extension where it's needed and everything is happy.

Vinh Vu: No. MD5 is one-way encryption. There is now way of retrieving the password.

Dr.Acula (and others): You won't find much more ready made than this. Try and learn some background about what you are doing, it'll help you understand how to make things work.

Krock (and others): Look at pear.php.net for all your needs.

Arnaud: Email me and I might be able to assist you there.

Thats all I have time for now, just ask for anything else you need.

--Luke

PEAR.php.net Has no such file
by Mike () on 1 May 2004 12:36am GMT

Why isn't anyone answering the number one question that everyone has asked... Where do we find the "DB_Common" PEAR package, the site you listed "pear.php.net" does not have this file, nor is it even in their search database. There are a total of 17 packages for Database and none are for DB_Common. There is DB, DBA, DBA_Relational, DB_ado, DB_DataObject, DB_DataObject_FormBuilder, DB_ldap, DB_ldap2, DB_NestedSet, DB_Pager, DB_QueryTool and DB_Table. That's all for the DB named files, so maybe you have another site or place we can obtain it from cause it's not there.

Where to place the PEAR files?
by Mike () on 1 May 2004 1:21am GMT

Yeah I also forgot to ask, where do you place the PEAR files at on your server? Is there any type of directory structure needed and do the files all need to be in the same folder, also where to put them for a Windows server?

Thanks.

Undefined index: REQUEST_URI
by CrAzYoNi on 5 May 2004 11:27pm GMT

Hi there...

While I was attempting to browse the sample-code via the index.php page I got this error message: " Notice: Undefined index: REQUEST_URI in C:\Inetpub\wwwtest\lib\user.php on line 234 "

What is the meanning of this error?

And how can I correct it?

Thanks a lot in advantage. :)

redirect ()
by Joaquin (jan18@wanadoo.fr) on 6 May 2004 12:15pm GMT

Hi

I seem... this is (perhaps) the last problem with this script. Sincerely, is hard to implement!

Fatal error: Call to undefined function: redirect() in /var/www/html/user/login.php on line 36

Can anyone explain to me what the redirect('/user/') function means ?

Thanks

Login script works fine
by jan18 on 7 May 2004 12:05pm GMT

Hi

After a little hard handwork, PHP login script works fine on my linux box.

Thanks Martin.

I suggest you to rewrite this step by step guide to adapt on to reality framework.

Joaquin

Joaquin

db_connect()
by thoughtform () on 11 May 2004 9:23pm GMT

I get the following error:

Parse error: parse error in /srv/www/config.php on line 5

Fatal error: Call to undefined function: db_connect() in /srv/www/htdocs/global.php on line 10

The first error refers to the line require_once("DB.php"); in config.php, which I got from this forum - DB.php is in my pear directory, so I can't see what the problem is. Copying DB.php to the same directory as the login script makes no difference. The DB.php file is default (I have never edited it) so surely there cannot be an error in it?

Does anyone have any ideas?

problem with index.php
by beckjo1 on 13 May 2004 2:12am GMT

I have a problem with index.php. I already have a file with that name and it runs my site. What do I need to do to change this?

you all suck
by n00b who knows nothing () on 15 May 2004 2:39pm GMT

you all suck balls, none of you understand this crap coz you dont know the language. niether do i but i dont bitch about someone whos giving out their code so shove some balls in your mouth and shut your hole faggots.

no such DB
by pdutcher (pdutcher@cvoice.com) on 16 May 2004 5:59am GMT

When opening the index.php by going to http://localhost/index.php I get an error stating that there is not such db. However, I can connect to the db using mysql, and I have already modified the config.php to point to the database, and I have verified that the username,password,and dbname are correct.

no such DB
by pdutcher (pdutcher@cvoice.com) on 16 May 2004 5:59am GMT

When opening the index.php by going to http://localhost/index.php I get an error stating that there is not such db. However, I can connect to the db using mysql, and I have already modified the config.php to point to the database, and I have verified that the username,password,and dbname are correct.

no such DB
by pdutcher (pdutcher@cvoice.com) on 17 May 2004 12:10am GMT

See my comments above, but I was also able to connect to the database remotely via Access, and was able to add a row to the members table. Also the scripts and the database are running on the same Redhat 8.0 server. I am also able to connect to the database using mysql -u shaggy -p. I have a fealing it has something to do with the pear modules, but I am not 100% sure since I am new at this.

I did update to the latest version of DB pear files, and I have confirmed that mysqld is running and listening on TCP port 3306, and there is an entry in the /etc/services for 3306 pointing to mysql. Any help would be greatly appreciated.

Thanks

paul

Fatal error
by TTB (WafeeAli@hotmail.com) on 20 May 2004 5:33pm GMT

What does

Fatal error: Failed opening required '../config.php' (include_path='.:/usr/local/lib/php') in /homepages/31/d88385834/htdocs/global.php on line 6 Mean and how do i fix it??

Please help me Thank you.

One Problem fixed
by TTB (WafeeAli@hotmail.com) on 20 May 2004 6:02pm GMT

Forget what i wrote earlier wtf does:

Fatal error: Call to undefined function: setfetchmode() in /homepages/31/d88385834/htdocs/config.php on line 16

mean and how do i fix it? Line 16 says:

$db->setFetchMode(DB_FETCHMODE_OBJECT);

Thank you

Another Problem
by Wafee (WafeeAli@hotmail.com) on 21 May 2004 6:01am GMT

Ok where do i get a db.php from???

I'm retardeddddddd
by DEW (venum069@stny.rr.com) on 21 May 2004 8:43pm GMT

I've gone up and down gone through many things to try and get this script going. I'm stuck at "DB Error: not found" when i view login.php if anyone can give me a hand i'd appreciate it. Just email me please. I have gone through the 15 step thing and this is where i'm at. page is http://puna.kicks-ass.net/login/login.php if that helps at all.

Please help !!!1
by eXtreme (extreme.x@mail.lt) on 28 May 2004 5:30pm GMT

Maybe i'm stupid but I can't find download config.php in this site. "From the PHP Login Script site, download config.php and put it in the directory above html/, in most cases www/"

There is config.php ?? Please help !!!!!!!!

sorry :)
by eXtreme (extreme.x@mail.lt) on 28 May 2004 5:33pm GMT

sorry i found link in comments.:)))

Config.php
by DEWMAN () on 28 May 2004 6:00pm GMT

Config.PHP right click and save as.

http://puna.kicks-ass.net/Downloads/script/config.php

Dumbass
by DEWMAN () on 28 May 2004 6:01pm GMT

[http://puna.kicks-ass.net/Downloads/script/config.php:Config.php download]

Right click that and save as.

Config PHP
by () on 28 May 2004 6:02pm GMT
config.php
by Niklas () on 2 Jun 2004 12:40pm GMT

i cant find it.. i must have gone blind or something :)

point 9.
by martin (ms_lunde@hotmail.com) on 3 Jun 2004 11:09pm GMT

Hi,

I do think I have got this right.

but where do i find DB_Common, HTML_Common, HTML_Table, HTML_Form ?

I use Fedora core 2 and have used yum to install most of php-pear. But when i do a locate DB_Common, HTML_Common, HTML_Table, HTML_Form i dont find any of them. Just DB.

what do i do to get this? and what is the right place to place dem?

regards

martin

so far
by martin () on 3 Jun 2004 11:27pm GMT

this is how it looks so far:

http://lunde.homelinux.com

Figured it all out
by Patrick () on 9 Jun 2004 10:09pm GMT

So, there are alot of things you're not told here.

I went throught he entire process of installing PEAR on my home computer; I've got PHP, MySQL and Apache installed already.

There are several things you are not told.

Here are some more specific instructions for installing this little piece of software.

Your directory structure MUST look like this (I named my main folder 'loginscript' because I have another index file in my main public_html directory):

www/config.php

www/loginscript/common.js

www/loginscript/filter.php

www/loginscript/html_form.php

www/loginscript/functions.php

www/loginscript/global.php

www/loginscript/index.php

www/loginscript/list.php

www/loginscript/multipage.php

www/loginscript/session_defaults.php

www/loginscript/details.php

www/loginscript/lib/user.php

www/loginscript/user/edit.php

www/loginscript/user/login.php

www/loginscript/user/logout.php

www/loginscript/user/password.php

www/loginscript/user/signup.php

In each of the www/loginscript/user/ files, you MUST add the line

require_once '../global.php';

At the VERY TOP of the file just inside the PHP tags (after the comment though).

Additionally, in each of the files in

www/loginscript/user/

CHANGE THE FOLLOWING!

require_once 'html_table.php';

TO

require_once '../html_table.php';

That should do it. Works perfectly on my home server now.

Funny part is, all this was just an exercise, I already have a very nice login script I wrote myself, just thought I'd play around with one that is OOP..

On the upside I did learn to use PEAR and install it myself, and I got some exposure to the HTML tables classes.

help
by BOB () on 20 Jun 2004 5:09pm GMT

i cant find config.php ne were

this is rly bugin me sum 1 plz help :(

Not a nube - but not able to get it to work
by Stumped () on 30 Jun 2004 12:50am GMT

Well, I'm stumped. I've installed all of the files, as described, configured everything per instructions, I've got a bit of experience with PHP/MySQL/PEAR, but when I attempt to login... nothing. Nothing happens at all. Clicking on the submit button gets NO action whatsoever. Any suggestions?

blank page
by Bugless () on 30 Jun 2004 3:47pm GMT

I download the script. I got most errors many of you have. To resolve most issues you must download few PEAR PHP packages and decompress them in the directory where PHP could find them.

If you have IS_A not found error, you must include two lines in DB.php at the beggining: require_once 'compat.php'; PHP_Compat::LoadFunction('is_a');

this is cause your version of php does not have that function. PHP_Compat is a PEAR PHP package. also is DB.

Other errors like SetFetch... not found, are cause some PEAR packages call php files in subdirectories that does not exist. For example: you must open mysql.php in DB directory where you decompress the PEAR package and change a call to '/DB/common.php' and changing to 'common.php' cause that file is in the same directory of mysql.php.

So what I recommend you, is to download all necessary PEAR packages, install them in the right directory and check for bad file references in php files. That should solve most problems.

What I could not resolve, is to assign privileges to shaggy in .

I am running mysql in cygwin in a win XP computer. I dont have admin privileges, but up to know I was able to run every service.

I tried with differents user and passwords but I get the same error "ERROR 1045: Access denied for user: '@localhost' (Using password: NO)"

I load http://localhost/~myuser

and I just get a blank page.

with no error. I check source code of the generated page, and is blank.

Any help?

is_a()
by Galán () on 12 Jul 2004 1:34pm GMT

I don't know if I'm beig silly but is_a();

isn't just a mistake for is_array();

it worked!

is_a()
by Galán () on 12 Jul 2004 1:34pm GMT

I don't know if I'm beig silly but is_a();

isn't just a mistake for is_array();

it worked!

Help ERROR!
by iG99)ASUka (bboygeneration@hotmail.com) on 13 Jul 2004 6:47pm GMT

oops .. i did everything but i received this error : Fatal error: main(): Failed opening required '../config.php' (include_path='.:/data/apache/php/mmp_lib') in /data/members/free/multimania/fr/i/g/9/ig99kyubi/htdocs/global.php on line 6

please help +_+

config.php
by Lucy () on 19 Jul 2004 1:37pm GMT

Hey guys, you just have to look hard!

http://martin.f2o.org/download/poll/config.php

for the config.php file

I think i'm completely thick but I really can't work out how to put this login thing on my webpage, any ideas where my 'root server' is? I am just logged into my normal ftp bit of space, it has php but I can't find out where any of the directries this guys is talking about are!

Any clues? Help! I'm determined now i've started :)

PEAR INSTALL
by Striker (striker4o@abv.bg) on 20 Jul 2004 9:14pm GMT

I GET THIS HERE :

Warning: main(user.php): failed to open stream: No such file or directory in c:\appserv\www\loginscript\global.php on line 8

Fatal error: main(): Failed opening required 'user.php' (include_path='.;c:\php4\pear') in c:\appserv\www\loginscript\global.php on line 8

So..what am I supposed to do NOW?!

i haven't installed pear,so i guess that this is the reason for my problems...but i still can't get it...how to install that pear ...ahhhh

multipage.php
by Striker (striker4o@abv.bg) on 20 Jul 2004 9:23pm GMT

where is that multipage.php i can't find it at all! :( pls help

seems useful
by Nem (info@gold-solutions.co.uk) on 26 Jul 2004 2:52pm GMT

Hi,

I feel the way you created your script and described it seems to be a bit complicated.

I create the tables, but after that is a mess. I am a beginner and would like to understand it more. Please email me if you would like to put the article in more of a beginner style piece.

Not for beginners
by shmookey on 26 Jul 2004 3:03pm GMT

This tutorial is not for beginners, it is an advanced script for advanced users who don't know how to or don't have time to write their own secure script.

Sorry, that sounded harsh
by shmookey on 26 Jul 2004 3:05pm GMT

I may write a beginners script though, if I get enough requests for it,

error
by ieatcheese () on 27 Jul 2004 7:48am GMT

DB Error: connect failed that is the error, where can i edit the DB shit??

i am close
by saab () on 27 Jul 2004 6:21pm GMT

i am close to finishing up a "working" version of this script. will message on here with a link. this script is rather old and needs some updating.

help
by remedy (m0rph@twcny.rr.com) on 26 Aug 2004 1:12am GMT

well i know i installed everything right..

pretty sure, i get a blank white page when i go to index.php. any ideas ?

error
by david benet (paervertedboy001@hotmail.com) on 29 Aug 2004 7:35pm GMT

Warning: main(../config.php): failed to open stream: No such file or directory in /home/daiada1/public_html/global.php on line 6

Fatal error: main(): Failed opening required '../config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/daiada1/public_html/global.php on line 6

CONFIG.PHP
by (no@no.no) on 31 Aug 2004 7:46pm GMT

Greetings,

Since you have chosen [b]NOT[/b] to read the entire thread. I will give you the location of CONFIG.PHP. It is here:

http://martin.f2o.org/download/poll/config.php

Can you find it now?

l8r

Validation form
by () on 31 Aug 2004 10:02pm GMT

[http://pear.php.net/manual/en/package.html.html-form.examples.php:FORM_VALIDATION_EXAMPLE]

Form Validation Example
by () on 31 Aug 2004 10:04pm GMT
Documentation
by () on 31 Aug 2004 10:05pm GMT
register
by gornik (krnejki@krnekje.net) on 12 Oct 2004 10:03am GMT

I press the register link in index.php. This opens the /user/signup.php. I enter all the values press signup button and nothing happens?

Please help

register
by gornik (krnejki@krnekje.net) on 12 Oct 2004 10:03am GMT

I press the register link in index.php. This opens the /user/signup.php. I enter all the values press signup button and nothing happens?

Please help

Help me please!
by Ish (sillyguy@gmail.com) on 3 Nov 2004 3:22am GMT

I am totally lost...I know nothing of anything...the direction's confuse me, and I keep on getting all these error's. I realy need a log-in system, and soon. Can anyone help me from the beginning, or give me a place I can just enter in some data and have it be done?

Thank you!

Contact me:

E-mail=sillyguy@gmail.com

MSN=(same as E-mail)

AIM=PhobiaWorld8

Yahoo=(I rarely use) Forenzey

After some time and some couple of cofee..
by Hernan (hern@rm.com) on 26 Nov 2004 8:59am GMT

I figuer that the script it's working but, there is lot of ../ links to fix, any ways I would like to thank you for this great script.

Thanks, Hernan.

email: hernan{at}gmail.com

DB_Common
by Pieboy () on 9 Dec 2004 10:32am GMT

Ok. Can't find DB_Common.

Can't someone just zip up the whole working package? It's not that hard.

I seriously takes ages to set it up and find all the files. :/

Doubt on How to direct data from Text but to Db
by Umadhar (umadhar@securitywonks.com) on 13 Dec 2004 6:37pm GMT

Hi,

I'm novice to this Php.SO please tell me how to redirect the data from a input text button to database and how to send to database.Send me to my Email Thank u...

Call to undefined function: addrule()
by cnicolaou (cnicolaou@lynx.net.lb) on 17 Dec 2004 10:31am GMT

Hey Guys!!

Thx for the script. Learnin so much so far...

But i have a problem defining the addRule in the HTML_From.php i think. the class was first named Form, i had to rename it to HTML_From and changed the class name from the instantiation place in the sign up page.

Is it the right thing to do? if NOT kindly, post another solution.

Thx a bunch

How can I integrate php in html
by Lord_Dred (zigzagman-13@earthlink.net) on 9 Jan 2005 2:38am GMT

I want to integrate the script found in php-login-script.zip into a html file for login. I believe that is posible but don't know how to do it.

If some one has a tutorial on that and html scripts on how to do it please mail to zigzagman-13@earthlink.net.

Apreciate your help.

Thanks

Installing PHP
by Robert A. Horton (r0bertt@aol.com) on 12 Jan 2005 1:14am GMT

Is it Possible to install PHP and Mysql on a personal computer, to view changes to a site without uploading. If so can you please give me a link to a site that shows you how to do so. Im running on windows, I know i need to download Lunix. Thanks

/www wont let me
by Cal () on 17 Jan 2005 6:15am GMT

I've been trying to get this login code to work, but i'm not allowed to place ANYTHING in the var/www folder

What gives?

Is it absolutely neccesary for this code to work?

http://www.blog-buster.net
by Scribacchino (Scribacchino@hotmail.com) on 17 Jan 2005 2:50pm GMT

Ciao amici miei! sono http://www.blog-buster.net

Windows Install
by Phil (phil_orchard@yahoo.com) on 18 Jan 2005 6:11pm GMT

Hi there,

Just wondering if anyone has a link to pear db_common, i have got the rest.

Also if you have any documentation on the pear install for windows of what to do that would be great.

Cheers, Phil

DB!?
by Zero () on 20 Jan 2005 1:02pm GMT

i keep getting DB error: connection failed

I've figured it out! This site is all a joke...
by Ridiculous (x@y.z) on 24 Jan 2005 4:52pm GMT

So, instead of zipping up the working install, we are sent from pillar to post looking for include files that don't exist, links to packages that don't exist (eg DB_Common in PEAR), the zip file has an incorrect directory structure, and generally this is the most stupid waste of time site.

On the off-chance that this code actually works after it has been reassembled, and put together like a jigsaw, would someone be so good as to post a link to the zipped install (with correct directory structure) somewhere here?

If you don't like it, leave
by Me () on 28 Jan 2005 8:24am GMT

It works. I followed the instructions and it worked without fault. If you don't like it, leave. Either way, don't post anonymously if you want to bitch, you coward.