PHP Classes

File: gpxBuilder.php

Recommend this page to a friend!
  Classes of david boardman   GPX Mapper & CMS   gpxBuilder.php   Download  
File: gpxBuilder.php
Role: Example script
Content type: text/plain
Description: gpxBuilder class callback
Class: GPX Mapper & CMS
Save maps GPX location files from coordinates
Author: By
Last change:
Date: 18 years ago
Size: 810 bytes
 

Contents

Class file image Download
<?
/*
    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();
?>