JWB
01-29-2004, 05:30 PM
If I'm searching for a variable in a url such as t=VALUE then it also returns things like postcount=VALUE
Example:
Scheme:http
Domain:domain.com
path and file:/forums/showpost.php
Query:p=61867&postcount=5
we found this url is pointing at threadid: "5" (oh no)
$expression = "($crawlurl[threadvar]=[a-zA-Z0-9]&?)";
preg_match($expression,$urltoadd->get_query(),$urltoaddthreadid);
Can anyone think of a way to fix this?
Thanks
Example:
Scheme:http
Domain:domain.com
path and file:/forums/showpost.php
Query:p=61867&postcount=5
we found this url is pointing at threadid: "5" (oh no)
$expression = "($crawlurl[threadvar]=[a-zA-Z0-9]&?)";
preg_match($expression,$urltoadd->get_query(),$urltoaddthreadid);
Can anyone think of a way to fix this?
Thanks
