robcrozier Posted January 17, 2009 Share Posted January 17, 2009 Hi everyone, i'm new to PHP's PEAR Database object and i'm trying to follow a tutorial aimed at creating a secure php login. The tutorial uses PEAR and i don't seem to be having any joy. Can anyone tell me, is PEAR a pre-installed object within PHP or do i have to install something to use it? Any help getting me off the starting line would be much appreciated. Cheers Quote Link to comment https://forums.phpfreaks.com/topic/141215-pear/ Share on other sites More sharing options...
.josh Posted January 17, 2009 Share Posted January 17, 2009 If you are running php version 4.3.0 or higher, it comes already installed, and you should be able to use it (unless someone specifically compiled your php to run without it). Quote Link to comment https://forums.phpfreaks.com/topic/141215-pear/#findComment-739103 Share on other sites More sharing options...
robcrozier Posted January 17, 2009 Author Share Posted January 17, 2009 I'm using the newest version of php and i know for a fact that it hasn't been compiled to run without it. I'm aware that you need to use: require_once("DB.php"); in order to use the PEAR library, however i just get a file not found error. Any suggestions? Cheers Quote Link to comment https://forums.phpfreaks.com/topic/141215-pear/#findComment-739144 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.