![]() set credentials based on the user's DayBack account name / email address. The user name will be the DayBack account / email address. FM credentials from posted user name($u). Set to false if you plan on having all users logged into FMS with the same account Here are the lines you'll find in the relay file to change: //Edit method for logging users into FMS In Windows, WordPad is a rich text editor, so you'll want to instead use the default plain text editor, notepad.ĭayBack will pass the logged in user's DayBack user name (often the user's email address) into the relay: you can edit the relay file to pass the FileMaker account name and password for that user into FileMaker. If you use TextEdit, make sure to change the settings when opening the PHP relay file by clicking the "Format" menu and then select "Make Plain Text". The default text editor in Mac, TextEdit, is normally editing in rich text format. The PHP relay file needs to be edited in a plain text format. You also may need to make a few changes if you are running a multi-machine configuration of FMS. so this account information isn't stored on DayBack's servers or shared with DayBack. The PHP relay file lets you hard-code login information used by DayBack into a file on your server. Do I need to make any changes to the PHP relay file? In either case, dropping a single PHP relay file into the FileMaker Server's root directory is much easier AND gives you a private place to transform DayBack's usernames into your FileMaker account names. Such a modification is actually pretty easy in Windows/IIS, but not so in Mac/FileMaker Server/Apache. The technical reason for needing this file is that FileMaker server does not allow HTTP XMLRequests directly to the XML API from another domain, and changing this involves modifying the Web Server settings. You can download the PHP relay file here, rename it, and edit your account information by changing a couple of lines to reflect a FileMaker account name and password that have read/write access to your FileMaker file. Its real use is to let you keep your FileMaker account names and passwords on your FileMaker Server and out of DayBack. This is the same file used in SeedCode's open-source fmxj project and the file doesn't have any DayBack logic in it. You will need to use a PHP relay to connect to your FileMaker Server.ĭayBack comes with a simple PHP file (fmxjRelay.php) that you can use. The PHP Relay for FileMaker Server For FileMaker Server What is the PHP relay file and why do I need one?
0 Comments
Leave a Reply. |