Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5530 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

I am trying to create a login page and require the users to log in using a username and password. Once a user entered the username and password, I would use that username and password to login, do a find and return the result (does not know any other way to do it). Once the result is return, I can check the errorCode for 0 to see if the user login successfully or not. However, the main problem is that if a user entered the wrong username and password, and I used:

$errorcheck = $ReturnedData['errorCode'];

to check for the error code, it does not seem to work. The php page would stop parsing right at that line.

I turned on error debug for testing in FX PHP server_data.php, and I found this line pop up after the user entered the username and password and pressed login button:

http://afsdaf:[email protected]:80/fmi/xml/FMPXMLRESULT.xml?-db=lcc_applications_.fp7&-lay=Applicants&-max=50&__kp__ApplicationID=02641&-find

When I pressed that it asked me to enter a username and password as the username and password I entered before are wrong. Was FX PHP can not handle this as FileMaker did not seem to return an error or data?

Is there a work around for this or anybody see this same problem before?

Any help would be appreciated.

Thanks, Kevin Dang.

This topic is 5530 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.