Hi, iam using mgos 2.1.iam new to php.i want to do simple task my task is iam giving parcelnum 1 in text box .on clicking zoom button it should zoom in to the map. my code in task pane
<html> <head> </head> <body> <input type="text" name="id" size="15"> <input type="button" name="button" value="Click" size="10"> <?php $args = ($_SERVER['REQUEST_METHOD'] == "POST") ? $_POST : $_GET; $sessionId = $args['SESSION']; $mapName = $args['MAPNAME']; $userInfo = new MgUserInformation($sessionId); $siteConnection = new MgSiteConnection(); $siteConnection->Open($userInfo); $resourceService = $siteConnection->CreateService(MgServiceType::ResourceService); $featureService = $siteConnection->CreateService(MgServiceType::FeatureService); echo "hiiiiiiii"; ?> </body> </html> iam getting sessionid but it gives me some error in creating resourceservice......... is there any dll required to add it in php just like in .net? Actually how to do it.i have seen samples.but really im not getting give me some idea .. -- View this message in context: http://n2.nabble.com/Help-Need-in-PHP-and-MGOS-2-1-tp4686590p4686590.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users