<?
/*
GPX Builder
Version: 1.0
Author: David Boardman
URL: http://www.netzfunk.org/?usr=d
Licenced under Creative Commons Attribution-NonCommercial-ShareAlike 2.5
If redistributed in any form, please include credits and a link to http://www.netzfunk.org/?usr=d
*/
include('inc/config.php');
set_time_limit($config['timelimit']);
require_once("cls/cls.gpxBuilder.php");
$context=1; // id context
/*
USAGE: gpxBuilder($config,$link,$author,$keywords,$creator,$idcontesto)
*/
$gps=new gpxBuilder($config,"http://myGPXsite","Nome Autore","keyword1, keyword2, keyword3","gpxBuilder v.0.2",$context);
$gps->makeRefFiles("esempioGPX.xml"); // nome del file da generare (posizionato nella cartella definita da config.php)
$gps->connectDB();
$gps->buildGPX();
$gps->closeDB();
$gps->outputText();
?>
|