Zoltan,
I use something like this in query.php, q_execAttributeQuery() (around
line 724):
if (substr_count($this->qStr, "/") == 3) {
$qStrArray = explode("/", $this->qStr);
$newqStr =
$qStrArray[0]."/".$qStrArray[1].".".$qStrArray[2]."/".$qStrArray[3];
$this->qStr = $newqStr;
}
regards, dejan
Siki Zoltan <[email protected]> wrote on 13.09.2009 11:34:40:
> Hi List,
>
> I get in trouble with search, I have slash character in the search
> pattern. When I use wildcard=2 it works, but when I try to use wildcard
0
> or 1 it finds no match because slases are not escaped in query string
($qs
> in search.php).
> in pm_debug.log I get
> [qStr] => ( "[HRSZ]" =~ /^(2|2)(2|2)(4|4)(8|8)(6|6)(9|9)/(2|2)$/)
>
> The search string I looked for '224869/2'.
> I think the slashes would be escaped in the query string in search.php
> (getSearchParamsShp). I use shape files.
>
> Thanks,
> Zoltan
>
>
------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> trial. Simplify your report design, integration and deployment -
andfocus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users