in reply to CGI Not Returning Parameter that's there

You must have noticed that the log line says &t=s39w25 and the value you are printing is t: s43w29. It seems you are not dealing with the same request. Try to log the QUERY_STRING and check again if the params you are getting from CGI are the ones being passed.