Pagine: [1]

help php file

  • pplp
  • Newbie
  • *
  • Messaggi: 1
  • Mostra profilo
help php file
« inserita:: Luglio 10, 2008, 04:48:44 pm »

Ho caricato in http://pplp.ilbello.com/googleMap/index.php un file php che non capisco perchè non funzioni
in locale mi funziona tutto perfettamente.
Il codice penso lo possiate vedere.
In caso lo metto cui sotto.
Per favore aiutatemi, sono un po' inesperta
grazie!

-------
<?php
/**
* Example page for include map in your website
+
+
+ New relase 2.0/body
+ create in data: 14 march 2007
+
+ author: Cosimo Ascolillo bodysurfingnet@gmail.com
+
+ dowload from: www.ca-web.it
*/

require_once 'phoogleMap.php';

$map = new PhoogleMap();

//setting your parametry map

$keyGoogleMap="ABQIAAAAEP-HRA-QFNISd3abZUmxshQfkIswN23i6YeOzegJVVfM4TxiwBRIyvLthT-n6soH_ARUOsUjopKM4g";

$map->setHeight(400);
$map->setWidth(500);
$map->zoomLevel=4;
$map->setAPIKey($keyGoogleMap);


?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
 <title>CA-WEB Solutions Gooogle Map</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
 <meta name="description" content="informatizzazione per  servizi,  installazioni reti, realizzazioni website, database, software personalizzato per la vostra attività commerciale"/>
 
 <meta name="author" content="Cosimo Ascolillo"/>
 
 <link rel="SHORTCUT ICON" href="../immagini/favicon.ico"/>
 <link href="../css/style.css" rel="stylesheet" type="text/css"/>
 
 <? $map->printGoogleJS(); ?>
</head>
 
  <body>
 
 
<div id="contenitore">
  <?
   include("../header.php");
   //include("./right.php");
  ?>
  <div id="corpo" align="justify">
    <h1>Google Map</h1>
    <br />
    <?
     // remember can you uses multi address in 1 map
   
     $map->addAddress('piazza bologna, Rome',
                      'bodySurfing home <br /> bodysurfingnet@gmail.com <br /> www.ca-web.it',
                   $keyGoogleMap);
     $map->addAddress('Rome','Rome city center',$keyGoogleMap);
   
     $map->showMap();

    ?>
  </div>
  <?
   include("../left.php");
  ?>
</div>
 
  <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
  </script>
  <script type="text/javascript">
  _uacct = "UA-360521-2";
  urchinTracker();
  </script>
</body>


</html>
--------
Registrato
  • Davide
  • Power user
  • *
  • Messaggi: 625
  • Mostra profilo WWW
Re: help php file
« Risposta #1 inserita:: Luglio 10, 2008, 06:34:16 pm »

Credo proprio che il problema sia cURL, è disabilitato..
Ciao! Sorriso
Pagine: [1]
Vai a: