krmit;10919055 wrote:If you have server then you can grab the API for PHP documentation. From the help file:
FileMaker API for PHP Reference
If you installed the FileMaker API for PHP, you can find reference information on the web server component of your FileMaker Server deployment.
1For IIS (Windows):
<drive>:\Program Files\FileMaker\FileMaker Server\Documentation\PHP API Documentation\index.html
where <drive> is the drive on which the web server component of your FileMaker server deployment resides.
1For Apache (Mac OS): /Library/FileMaker Server/Documentation/PHP API Documentation/index.html
Thanks for that. I had not sen that good documentation was there.
Spent the day going through it.
There is a test page that one can get from the server by clicking the icon. Opening the FPServer_sample.fp7 works OK from the top link - direct to FP.
The PHP test link picks up the PHP test file which shouod open the FPServer_sample - but it does not open. I get Error 3 and Error curl3 - saying it does not open - with no real reason why.
When working with PHP MySQL I can check I have connected to the database OK using mysqli_connect(...... then if($result) echo " Connected OK"
Then I can echo the actual query.
then echo if it works using IF($result) again.
As I see it there is no way to check that you have actually connected to the database - and no way to echo the query - and the error message no 3 could be a variety of things.
Incidentally I can open FPserver_sample from a client on the same machine using open remote - but if i try to open using simlply OPEN it does not open due to sharing problem.
Any thoughts would be greatly appreciated.
Paul