TimonF Posted January 25, 2007 Posted January 25, 2007 Hi Guys, I'm trying to set up a website using FMSA 8 and CWP. I used to work with SQL&PHP which was in my opinion a straightforward combination. Now i'm a little lost. The Website should roughly look like that: It has a login area and main page, working with frames etc... It should also include data representation of our FileMaker database/s. I'm stuck at the login. I can manage to code a login with php&sql. But through CWP it seems to be pretty hard. The only way i could think of to archieve this goal is through an xml-parser extension for the php-module. Correct me if i'm wrong: I need a login.html and for example a verify.php file. The login.html contains a form that forwards a name and a password by the post method to verify.php. Using SQL i would now (in verify.php) connect to the SQL db and check for an occurence of the posted name and check if the password is correct. Using FileMaker/CWP i can run a search against the name with an URL (like http://host/fmresultset.xml?-db=LabDB?-lay=login&Commision.op=eq&-find ) from verify.php where i would parse it somehow to eventually extract the name and pw from the db to verify the login data. Is there an easier way? Am i getting to this from the wrong direction? Help would be very much appreciated. Thanks in advanced. Greetings, Timon
John May - Point In Space Posted January 25, 2007 Posted January 25, 2007 Check out the FileMaker PHP API: http://filemaker.com/developers/resources/php/index.html or FX.php: http://www.iviking.org/FX.php/ - John
TimonF Posted January 30, 2007 Author Posted January 30, 2007 Thanks, you brought me back on track. The FM PHP API looks great!
Recommended Posts
This topic is 6505 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