I solved this problem by placing the dbf file inside webroot directory. Thanks
On Sep 19, 1:02 pm, Uday <khanal.sham...@gmail.com> wrote: > Hi, > > I have connected the .dbffile with plain code in php but unable to > open the same file with cakephp. > --------------------------------------------------------------------------- > ----------------------------------------------------------------- > $db_path = 'file_path'; > $dbh = dbase_open($db_path, 2)or die("Error! Could not open dbase > database file '$db_path'."); > --------------------------------------------------------------------------- > ----------------------------------------------------------------- > The above code works in plain php but does not work in cakephp. > Please help me to opendbffile with cakephp. > Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php