diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_REFERER.html')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_REFERER.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_REFERER.html b/docs/libcurl/opts/CURLOPT_REFERER.html index f2481b6e..733a8c84 100644 --- a/docs/libcurl/opts/CURLOPT_REFERER.html +++ b/docs/libcurl/opts/CURLOPT_REFERER.html @@ -61,10 +61,10 @@ p.roffit { CURL *curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, "<a href="http://example.com">http://example.com</a>"); - + /* tell it where we found the link to this place */ curl_easy_setopt(curl, CURLOPT_REFERER, "<a href="http://example.com/aboutme.html">http://example.com/aboutme.html</a>"); - + curl_easy_perform(curl); } </pre> |