I have a page (server1) that sends a urlencoded querystring to a form on another server (server2).
The querystring can be built/created like this (on server1):
$url = page.php?number='&value=Peter Be
$url = urlencode($url)
And here is the value of the variable url:
url = page.php?number=%5C&value=Peter+Be
when I want it to be just '.
When this URL is received on server2, and the querystring variables are converted to:
number = \' (I.e. from querystring %5C to \')
value = Peter Be
How can I prevent this? I want to be able to use a URL like this:
http://www.webpage.com/page.php?number='&value=Peter+Be
Any hints urgently appreciated.