I'm using a service where about each hour their server is contacting mine like this:
/check.php?id=1&name=anonyme&country=us
So I pick up the information like this:
$id = @$_GET['id'];
$name = @$_GET['name'];
$country = @$_GET['country'];
Great, everything works just fine. But when the name has a space on it let's say:
/check.php?id=1&name=MR Anonymous&country=us
Then in php I can only pickup the ID and the First part on the name which is 'MR'. And I can't get the other values (country, etc..) they stay empty because of that space.
I have contacted the company that sends this information, I told them maybe it's their problem and they said no, I just have to URLENCODE my URL..
I still think it's their problem not mine, because when I see the Apache logs I see a space on their URL, they should fix that space. (Because when I use the same URL in any browser, that space turn into %20, that isn't the case with the company)
Is it my problem? Or their problem? How to fix it if it's mine?