cvs: presentations /slides/intro yajax_combined.php

From: Date: Thu, 29 Jun 2006 13:20:03 +0000
Subject: cvs: presentations /slides/intro yajax_combined.php
Groups: php.pres 
Request: Send a blank email to pres+get-1335@lists.php.net to get a copy of this message
rasmus Thu Jun 29 13:20:03 2006 UTC Modified files: /presentations/slides/intro yajax_combined.php Log: Apachecon talk http://cvs.php.net/viewvc.cgi/presentations/slides/intro/yajax_combined.php?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/intro/yajax_combined.php diff -u presentations/slides/intro/yajax_combined.php:1.2 presentations/slides/intro/yajax_combined.php:1.3 --- presentations/slides/intro/yajax_combined.php:1.2 Wed Apr 19 07:39:07 2006 +++ presentations/slides/intro/yajax_combined.php Thu Jun 29 13:20:03 2006 @@ -11,7 +11,7 @@ $lat = -$lat; $lon = $lon<0 ? 180+$lon : $lon-180; $S = unserialize(file_get_contents("$map&latitude=$lat&longitude=$lon")); header("Content-type: application/x-json"); - echo json_encode(array('north'=>$N['Result'],'south'=>$S['Result'])); + echo json_encode(array('north'=>$N['Result'],'south'=>$S['Result'],'lon'=>$lon)); exit; } ?>

« previous php.pres (#1335) next »