Problems with my IP being listed in spammer's list

From: Date: Tue, 13 Feb 2007 13:55:13 +0000
Subject: Problems with my IP being listed in spammer's list
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-34284@lists.php.net to get a copy of this message
Hi, I wanted to add note to php.net, but server told me I'm listed on spammer's list althought I never spammed (not even contributed)! My IP is 81.30.248.13, with note PTR= nato.forcominet.cz. Dunno what it means, though. Note I'd like to add: <note> I altered trevors's function a little, so you can add more than one pair of variable=value. Number of arguments must be of course even!:) <?php function setGetVars(){ $request_uri = $_SERVER["REQUEST_URI"]; if (!(func_num_args()&1)): for ($i = 0; $i < func_num_args(); $i++): if (!($i&1)): $var = func_get_arg($i); $val = func_get_arg($i+1); if (strstr($request_uri, $var)): $request_uri = preg_replace("/$var=[\\d\\w]*/", "$var=$val", $request_uri); elseif(strstr($request_uri, "?")): $request_uri = $request_uri . "&" . $var . "=" . $val; else: $request_uri = $request_uri . "?" . $var . "=" . $val; endif; endif; endfor; return $request_uri; endif; } ?> Example: Original URI: index.php?module=users&c=good <?php echo setGetVars('a','b','c','d','e','f'); ?> Result: index.php?module=users&c=d&a=b&e=f </note> Thanks for any help!

« previous php.mirrors (#34284) next »