Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Getting started with PEAR
July 9, 2005, 12:52 am
rate this thread
found www.php.net and it has a lot. I downloaded ZipCodeRange and it called
for stuff, including DB.php. I was directed to look at pear.php.net. I did
that, and started reading the manual.
What I cannot seem to find is how to SIMPLY use this stuff.
a - I don't know where to find db.php
b - I haven't been able to find an explanation of the syntax (e.g.
c - How to actually USE the class.
Can someone help me out with some simple instructions to get started? Once
I am moving I can take it from there.
Re: Getting started with PEAR
When you install PHP PEAR is also installed. If you want to add a
package then just in a commandline enter: pear install DB
that should take care of it
That is the way PHP call a method in a class directly without creating
an object first.
on the PEAR website there are documentation for most of the classes, som
of the documentation is perhaps not the best written stuff, but I have
found the most documentation useful
A search on google turned up several hits on: pear tutorial