hi first i must say that im not a coder so this may sounds a silly question for most of you i have a php file that shows a form, when submitted the values are passed to a 2nd php file that process the sent values one of the fileds of the forms asks for a URL, so is filled with something like http://domain.com the problem is that this value is then processed by the 2nd php file as http%3A%2F%2Fwww.domain.com and it doesnt work to be used as a redirect which is something the 2nd file should do question is: where may it be changed to that? i think is the form, but not sure. as tried looking for the answer with no luck btw, both php files have <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> if this matter, but not sure at all. if someone can help, it would be great thanks in advance
Are you using the $_GET and $_POST variable? They shouldn't need decoding. Anyway, try the urldecode function in php