Re: COM gurus... please help
| From: | Scott Carr | Date: | Thu, 24 Oct 2002 14:07:45 +0000 |
| Subject: | Re: COM gurus... please help | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16524@lists.php.net to get a copy of this message | ||
What are you trying to use? MapServer, what is that. If you are trying to do
web mappin, I suggest you look at the MapServer project from University Of M...
at http://mapserver.gis.umn.edu/. It is a very good
mapping system that uses
ESRI Shp files as well as several others.
It also has a direct PHP interface for it as well.
--
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/
Quoting "Asendorf, John" <JAsendorf@lcounty.com>:
> Hello all,
>
> PHP 4.2.3, NT4, IIS4
>
> I finally have a practical application to use COM and I'm trying to port
> some ASP scripting. I'm getting an error (Warning: Invoke() failed:
> Exception occurred. Source: Unavailable Description: Unavailable in
> D:\spoof\gis\file.php on line 66 and then the timeout error). The second
> uncommented line is line 66 ($objMapSvr = ...). If someone knows the ASP
> code, it's commented above the PHP lines. Any help would be appreciated.
> The ASP file runs fine. I have a feeling once I get past this hump... the
> rest should run smoothly. Thanks, John
>
> //Set objMapSvrMngr = Server.CreateObject("GMWebMap.MapServerManager")
> $objMapSvrMngr = new COM("GMWebMap.MapServerManager") or die("Couldn't
> create COM");
>
> //set objMapSvr = objMapSvrMngr.MapServer("")
> $objMapSvr = $objMapSvrMngr->MapServer("");
>
>
> ---------------------
> John Asendorf - jasendorf@lcounty.com
> Web Applications Developer
> http://www.lcounty.com - NEW FEATURES ADDED DAILY!
> Licking County, Ohio, USA
> 740-349-3631
> Nullum magnum ingenium sine mixtura dementiae fuit
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/