[mapserver-users] PHP, HOW??: Returning Results to Multiple W indows

Puneet Kishor pkishor at GeoAnalytics.com
Tue Jul 16 12:14:57 PDT 2002


afaik, you can't tell the server to "push" two windows. However, you can
readily tell the client to spawn an additional window that "pulls" the
correct script from the server.

attach a window spawning function to any client-side object that fires
either by user interaction or by onload.

pk/


> -----Original Message-----
> From: Hankley, Chip [mailto:Chip.Hankley at GASAI.Com]
> Sent: Tuesday, July 16, 2002 12:14 PM
> To: MapServer List (E-mail)
> Subject: [mapserver-users] PHP, HOW??: Returning Results to Multiple
> Windows
> 
> 
> Kind of a generic server side processing question.
> 
> I'm running a querybypoint operation w/ PHP MapScript. I can 
> collect the
> results in an array, highlight the selected records, etc. 
> etc., all in the
> same window. BUT, what I want to do is display the selected 
> records in a
> table in a NEW window. So... I want the server-side stuff to 
> do something
> like this.
> 
>           Receive Input
>                 |
>                 V
>          Query Shapefile
>                 |
>                 V
>       Return Results to Array
>                 |
>                 V
>      Refresh Map in Existing Window
>        (showing selected records)
>                 |
>                 V
>      Display the Attributes of
>      the Selected Records in a 
>            New Window
> 
> It's this last step that I'm having a hard time with...I 
> would think it
> should be simple. Thanks for any suggestions!
> 
> Cheers!
> 
> 
> Chip Hankley
> 



More information about the MapServer-users mailing list