* Rui Francisco <[EMAIL PROTECTED]>: > I have a small problem with a PHP script with Pear DB > > The problem is the following: I'm creating a shell script in PHP that > access one interbase database. > > The problem is that if i run it on a webserver the script run correctly > but if i runit in the command line it reports one error (DB Error: > connect failed). > > Does anybody know what is the problem ?
Are you running the script on the same server as the webserver process? If not, you may need to set up additional permissions on the database to run it from the new machine. -- Matthew Weier O'Phinney | mailto:[EMAIL PROTECTED] Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php