MetaSys Software Posted July 17, 2007 Posted July 17, 2007 Hi All, How can we track if php/FM connection is not set usng Filemaker class? Say if the account parameters passed do not not have access to database. Using following syntax to connect FM database through php API require_once ('Filemaker.php'); $fm = new FileMaker('FMDB.fp7', '127.0.0.1', 'User1', 'user'); Thanks in advance.
Genx Posted July 17, 2007 Posted July 17, 2007 require_once ('Filemaker.php'); $fm = new FileMaker('FMDB.fp7', '127.0.0.1', 'User1', 'user'); $fm->newFindAnyCommand('SomeLayout'); $result = $fm->execute(); if( FileMaker::isError($result) ) { print $result->getCode()." ".$result->getMessage(); die(); } .. I'm not sure what the actual error is for it but if you try a false login it should come up from the above.
Recommended Posts
This topic is 6601 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now