<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Just trying to get info functionality working in our site using PHP/Mapscript. It seems to get stalled while processing the template. Am I doing this wrong?</DIV>
<DIV> </DIV>
<DIV>  LAYER<BR>    NAME "Rivers"<BR>    GROUP "Base Data"<BR>    STATUS ON<BR>    TEMPLATE "c:/Inetpub/wwwroot/template/rivers_template.html"<BR>    TYPE LINE<BR>    TILEINDEX "coindex"<BR>    TILEITEM "lorivers"<BR>    CLASSITEM "rivers_id"<BR>    MAXSCALE 500000<BR>    TOLERANCE 10<BR>    TOLERANCEUNITS PIXELS<BR>    CLASS<BR>      EXPRESSION /./<BR>      STYLE<BR>        SYMBOL 0<BR>        COLOR 0 0 230<BR>        SIZE 1<BR>        MINSIZE 1<BR>        MAXSIZE 100<BR>      END<BR>    END<BR>  END<BR></DIV>
<DIV>Template:</DIV>
<DIV><table border=1 cellpadding=0 cellspacing=0 width="100%" bgcolor="#FFFFFF"><BR>  <tr><BR>    <td>[LRIS_FCODE] &nbsp;</td><BR>    <td>[RIVERS_ID] &nbsp;</td><BR>    <td>[LENGTH]</td> <BR>  </tr><BR></table><BR></DIV>
<DIV>MapScript Code:</DIV>
<DIV>  $image = $map->draw();<BR>  $queryImage = $map->drawQuery(); <BR>  $query_url = $queryImage->saveWebImage();<BR>  $array[0] = '';</DIV>
<DIV> </DIV>
<DIV>  if($qRectRes == 'MS_SUCCESS' || $qPtRes == 'MS_SUCCESS')<BR>  {<BR>    $image_url = $query_url;<BR>    //$queryHTML = $map->processQueryTemplate($array,MS_FALSE);<BR>    //echo($queryHTML);<BR>    //error_log($queryHTML);<BR>  }<BR>  else<BR>    $image_url = $image->saveWebImage();</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Rene J.R. Teniere - BSc., D.GIS<BR>GIS Programmer/Analyst<BR>Nova Scotia Department of Natural Resources<BR>Forestry Division (GIS) - Truro</DIV>
<DIV> </DIV>
<DIV>Phone: (902) 893-5655<BR>Mobile: (902) 209-8956</DIV></BODY></HTML>