[mapguide-users] MaestroAPI in php: Class 'HttpServerConnection' not found

udraute udraute at hotmail.com
Mon Dec 6 06:42:38 EST 2010


Hi,
mine's most likely a dummy question, but I've searched far and wide and
still can't find any documentation nor code samples for calling Maestro API
from php.

If I run the following code I got a "PHP Fatal error:  Class
'HttpServerConnection' not found":

$conn = new HttpServerConnection("http://myurl/mapagent.fcgi",
"Administrator", "admin", "en", true);

Note that php_MapGuideApi.dll in correctly loaded in my environment because
I can e.g. call MgInitializeWebTier() and the like.

What should I do in order to get a connection to a remote MapGuide server
through MaestroApi in php?

Thanks a lot!
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-in-php-Class-HttpServerConnection-not-found-tp5807470p5807470.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list