Hi Tanveer,
open ur php.ini file and find from where files are included {default location }, i mean include_dir
like -
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
{step} - activate
include_path by removing comment sign ;
{step} - In "include" folder, paste your PEAR package files {php and other files, not zip file}.
{step} - Restart your local web server {it might be -wamp, xamp, triad, IIS, tomcat etc}
if you are going to use your script in a hosting server, then informed that, most of linux hosting has PEAR service enbaled. And if not, then you have to follow some steps.
{step} - please include PEAR reference in your PHP file like - require "/public_html/
PEAR/DB.php";
{step} - upload your PEAR files into your created folder
PEAR
and end of all, it will work.
if u have any query, ask me or write down email at
info@kernelbd.com
Thanks,
