call urlencode $val=...