December 10, 200916 yr 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.
Create an account or sign in to comment