SNAPSHOT: Prepping PHP files

From Dwayne Wright - www.dwaynewright.com

Prepping PHP files

One of the first steps is to turn on the extended privilege set for PHP for the accounts you want to have PHP access. To use the site assistant, at least one account has to have the PHP extended privilege active.


Here you can see the extended privileges area with the fmphp extended privilege. This was added in FileMaker 9 and you can see that currently the PHP extended privilege does not have any accounts assigned to it.


Here you can see Admin account is getting the fmphp extended privilege account assigned to it.

Next step is to go over to FileMaker Server 9 and check the Web Publishing configuration option and may sure the PHP Publishing section has the "Enable PHP publishing" option checked off.


The database that you want to use as the source for the PHP Site Assistant must be open on the FileMaker 9 Server and have one account with php access (like I mentioned before). So when the database you want PHP access to should show up in the Adminstration Databases area on the FileMaker 9 server and have the PHP checkbox check (just like the figure below).


Here you can see the default extended privilege access for each file.

The next step is to pull up the FileMaker Server 9 Admin Console Start Page. This will have a link for the PHP Site Assistant.


Here you can see the PHP Site Assistant link in the bottom right area of the Server 9 Admin Console Start Page.


Here you can see the Start PHP Site Assistant button after the link it clicked. This will take you directly into the PHP Site Assistant.


Here you can see the PHP Site Assistant. From here, you will want to click the Create A New Site button in the top left.


Here you can see the Create A New Site button and the tool tip for it.


After clicking the Create A New Site button, you will be prompted to specify a site name for the project


Then you will be prompted for the web server address and the information for the current machine will automatically be filled in if you are using a one machine FileMaker / Web server configuration. Otherwise you can enter in the IP address of the web server you want to connect to. Finally, click the Connect button and choose the database you want to configure.


After choosing the database, you will need to configure the Security Policy for that file. You will then be prompted for the admin password for that machine and then you will have successfully completed the database settings. The next step is to specify a layout group.
=
More info about the author and FileMaker in general, contact me at info@dwaynewright.com.

© 2007 - Dwayne Wright - dwaynewright.com

The material on this document is offered AS IS. There is NO REPRESENTATION OR WARRANTY, expressed or implied, nor does any other contributor to this document. WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. Consequential and incidental damages are expressly excluded. FileMaker Pro is the registered trademark of FileMaker Inc.