Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* FileMaker API for PHP
*
* @package FileMaker
*
* Copyright © 2005-2007, 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
<?php
/**
* FileMaker API for PHP
*
* @package FileMaker
*
* Copyright © 2005-2007, 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
<html>
<head>
<title>Alle Kontakte</title>
<!-- declare charset as UTF-8 -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<table id="main">
<tr><th id="table-title" colspan="3">Kontakte Semicon 2013</th></tr>
<html>
<head>
<title>Alle Kontakte</title>
<!-- declare charset as UTF-8 -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<table id="main">
<tr><th id="table-title" colspan="3">Kontakte Semicon 2013</th></tr>
@rodro12
rodro12 / containerBridge.php
Created February 7, 2013 10:30
containerBridge
<?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
<?php
define( ‘FM_HOST’, ‘127.0.0.1’ );

define( ‘FM_FILE’, ‘Product Catalog’ );
define( ‘FM_USER’, ‘esmith’ );
define( ‘FM_PASS’, ‘m4rg0t’ );
require_once (‘FileMaker.php’);
$fm = new FileMaker(FM_FILE, FM_HOST, FM_USER, FM_PASS);
if(isset($_GET[‘search’]) and $_GET[‘search’] != ‘’) {
$search = $_GET[‘search’];
$request = $fm->newFindCommand(‘Product’);ö. $request->addFindCriterion(‘Name’, $search);
} else {
$search = ‘’;
$request = $fm->newFindAllCommand(‘Product’); }
if(isset($_GET[‘sortby’]) and $_GET[‘sortby’] != ‘’) { $request->addSortRule($_GET[‘sortby’], 1);