LuckyNumber85 Posted February 20, 2009 Share Posted February 20, 2009 Hi all, new to this forum and new to PHP in general. Tried searching on this but didn't have any luck. I have a 3rd party software program that is sending me a URL with parameters similar to the following: http://www.myurl.com/my.php?Name%3DBobJones&Address%3D1500TestStreet , with the = being given as the hex equivalent instead of a proper = sign. Because of this, my $GET commands aren't able to find the variables, since they're looking for the = sign. My script works perfect if the = are manually placed where they belong, but is there a way to get PHP to read the hex equivalent and treat it as an = sign? Thanks for any light you can shed on the subject, Neil Link to comment https://forums.phpfreaks.com/topic/146126-solved-url-parameters-given-in-hex-code-can-php-get-read-these/ Share on other sites More sharing options...
Mark Baker Posted February 20, 2009 Share Posted February 20, 2009 look at urldecode() Link to comment https://forums.phpfreaks.com/topic/146126-solved-url-parameters-given-in-hex-code-can-php-get-read-these/#findComment-767128 Share on other sites More sharing options...
LuckyNumber85 Posted February 20, 2009 Author Share Posted February 20, 2009 Perfect, just what I needed. Thanks! Link to comment https://forums.phpfreaks.com/topic/146126-solved-url-parameters-given-in-hex-code-can-php-get-read-these/#findComment-767157 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.