Internetservice WebConsultant.de Dipl. Ing. Hans-Martin Aurich
Zur ersten Seite
Kundenzugang
Referenzen Lösungen Buchtipp Kontaktformular Impressum




fmp2perl - Syntax - Download
InstallationsanleitungAnwendung von fmp2perl
Fehler melden





fmp2perl

Beispiel



FileMaker Dantenbank
in Perl nutzen


Beispiel

1. Test
2. Quellcode des Perl-CGI-Programmes
3. Quellcode herunterladen
4. Erläuterungen zur Datenbank






1. Test [top]

Bitte hier klicken.


2. Quellcode des Perl-CGI-Programmes [top]

#!c:\Perl\bin\perl.exe
#!/usr/bin/perl

use FMPro::fmp2perl qw(fmp2perl);


$tmp = "http://www.mein-materialpool.de/FMPro?-db=BR_Lexikon.fp5&-Format=-fmp_xml&-FindAny=";
$values =fmp2perl($tmp);

print "Content-type: text/html\n\n";

$html =<<__HTML__;
<html>

 <head>
  <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  <title>Test fmp2perl</title>
  <link rel="stylesheet" href="http://www.webconsultant.de/Style/IS_style.css">
 </head>

 <body bgcolor="#ffffff">
  <div align="center">
  <p></p>
  <table border="0" cellpadding="10" cellspacing="0" width="75%" bgcolor="#ffcc66">
   <tr>
    <td>
    <div align="center">
     <h1>Zufallstreffer aus dem Lexion auf <a href="http://www.baurat.de" target="_blank" title="Historische Baustoffe Online">Baurat.de</a>,</h1>
     <h2>dem Portal f&uuml;r historische Baustoffe.</h2>
     <p></p>
     <p><b>Stichwort:</b></p>
     <p>$values->[0]{Lexi_Stichwort}{Data}[0]</p>
     <p><b>Text: </b></p>
     <p>$values->[0]{Lexi_Text}{Data}[0]</p>
    </div>
    </td>
   </tr>
  </table>
  </div>
 </body>

</html>

__HTML__

print "Content-type: text/html\n\n";

print "$html";


3. Quellcode herunterladen [top]

Download


4. Erläuterungen zur Datenbank [top]

Die Datenbank BR_Lexikon.fp5 auf www.baurat.de enthält die Text-Felder Lexi_Stichwort und Lexi_Text.













[top]   






Copyright © 2003 - 2009· Internetservice WebConsultant.de
Dipl. Ing. (FH) Hans-Martin Aurich · Langweidenstraße 56 · D-60488 Frankfurt a.M.
+49 / 69 / 780 799 8-1 · Fax: -2 · Funk: 01577/2666226· Zum Email-Formular
USt-ID-Nr. DE_199963939