As title mentioned, for example, I want to send a get request to a permanent link(etc www.google.com) using php, the outcome will become google.com?0=name? form is not the proper step, as in i need to type in the name. How do i send a request to http using php? Thanks.
Thanks for the reply. However, 1. curl_setopt($ch, CURLOPT_URL, "http://example.com?0=". $email ."") 2. curl_setopt($ch, CURLOPT_URL, "http://example.com?0=abc%2Bdatacenter@gmail.com") it works on the second, however the first one is not working. I think is the +(%2B) sign. How can i solve it, so that the browser can interpret + as %2B?
use urlencode function like: curl_setopt($ch, CURLOPT_URL, "http://example.com?0=". urlencode($email))