Ich brauche Hilfe mit meinem PHP-Code, da ich ein Projekt habe, wo ich eine private Schicht Fusion Tabellen habe und auf meiner Website zeigen möchte. Ich versuche OAuth zu benutzen, aber es zeigt mir den Mantel. Also werden die Variablen erfasst? Ich habe http://code.google.com/p/fusion-tables-api/ Führer genommen, aber zeige mir nichts. : (Oauth login PHP um Fusionstabelle zu zeigen
<code>
<!DOCTYPE html>
<html>
<head>
<style>
#map_canvas { width: 500px; height: 400px; }
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
sensor=false">
</script>
<script type="text/javascript">
var map;
var layer;
var tableid = 2102910;
function initialize() {
map = new google.maps.Map(document.getElementById('map_canvas'), {
center: new google.maps.LatLng(19.541451, -96.925632),
zoom: 5,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
layer = new google.maps.FusionTablesLayer(tableid);
layer.setQuery("SELECT 'geometry' FROM " + tableid);
layer.setMap(map);
}
</script>
</head>
<body onload="initialize();">
<div id="map_canvas"></div>
<div style="margin-top: 10px;">
</div>
<?php
include('clientlogin.php');
include('sql.php');
include('file.php');
$tableid = 2102910;
$username = "[email protected]";
$password = "xxxx";
$token = ClientLogin::getAuthToken($username, $password);
$ftclient = new FTClientLogin($token);
$condition = $_POST["
echo "These Projects are in ".$condition."";
?>
</body>
</html>`
<code>
Danke, ich werde das überprüfen. Ich habe es trotzdem versucht, aber ich verstehe. Wird mehr untersuchen. Danke: D – Magneto