<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2>I am trying to publish some maps using PostgreSQL 
with PostGIS and PHP/Mapscript.When I access a layer using 
$layer1=$map-&gt;getLayerObj(0), everything goes fine untill I try to set a 
filter for that layer using $layer1-&gt;setFilter("MyExpression"). </FONT></DIV>
<DIV><FONT face=Arial size=2>The error I get is: "Fatal error: Call to undefined 
function: setfilter() ...". </FONT></DIV>
<DIV><FONT face=Arial size=2>All the other methods of LayerObj class seem to 
work fine.</FONT></DIV>
<DIV><FONT face=Arial size=2>Could anyone help me?</FONT></DIV>
<DIV><FONT face=Arial size=2>I am using PHP 4.0.6 and MapServer 3.5 from a 
couple of weeks ago.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Greg Liapis</FONT></DIV>
<DIV><FONT face=Arial size=2>Thessaloniki</FONT></DIV>
<DIV><FONT face=Arial size=2>Greece</FONT></DIV></BODY></HTML>