ok, the 4th method worked out, maybe lame but works:
$qs = getenv('QUERY_STRING');
$fx_str = substr($qs, (strpos($qs, 'ch.x=')+5));
$temp_x = strpos($fx_str, '&');
if ($temp_x != 0) {
$fx_str = substr($fx_str, 0, $temp_x);
}
$fy_str = substr($qs, (strpos($qs, 'ch.y=')+5));
$temp_y = strpos($fy_str, '&');
if ($temp_y != 0) {
$fy_str = substr($fy_str, 0, $temp_y);
}