Created
February 7, 2013 10:30
-
-
Save rodro12/4730127 to your computer and use it in GitHub Desktop.
containerBridge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* ContainerBridge.php | |
* | |
* Copyright © 2005-2006, FileMaker, Inc. All rights reserved. | |
* NOTE: Use of this source code is subject to the terms of the FileMaker | |
* Software License which accompanies the code. Your use of this source code | |
* signifies your agreement to such license terms and conditions. Except as | |
* expressly granted in the Software License, no other copyright, patent, or | |
* other intellectual property license or right is granted, either expressly or | |
* by implication, by FileMaker. | |
* | |
* This is a bridge script to call FileMaker::getContainerData given a url. | |
*/ | |
require_once("FileMaker.php"); | |
// Location of FileMaker Server is assumed to be on the same machine, | |
// thus we assume hostspec is api default of 'http://localhost' as specified | |
// in filemaker-api.php. | |
// If FMSA web server is on another machine, specify 'hostspec' as follows: | |
$fm = new FileMaker('semicon2013', 'http://localhost'); | |
$fm = new FileMaker('semicon2013'); | |
echo $fm->getContainerData($_GET['path']); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment