Hi, When you try to make a post request with curl, '+' signs in a variable bocomes ' ', space. Lets give an example; $var = "http://forums.digitalpoint.com/this+is+a+message.html" After posting this variable with curl, variable is transmitted as follow; $var = "http://forums.digitalpoint.com/this is a message.html" Any idea to fix this issue? thanks
you should use urlencode($var) $str='this is text'; $str=urlencode($str); echo $str; //echoes 'this+is+text' echo urldecode($str); /echoes 'this is text'