diff options
Diffstat (limited to 'tests/charsetcurl.php')
| -rw-r--r-- | tests/charsetcurl.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/charsetcurl.php b/tests/charsetcurl.php new file mode 100644 index 0000000..9db93e8 --- /dev/null +++ b/tests/charsetcurl.php @@ -0,0 +1,11 @@ +<?php + +$ch = curl_init('http://www.heise.de/newsticker/meldung/Fruehjahrspatches-Microsoft-9-Adobe-3-1838175.html/from/atom10'); +#curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); +#curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); +#curl_setopt($ch, CURLINFO_HEADER_OUT, true); + +curl_exec($ch); + +var_dump(curl_getinfo($ch,CURLINFO_CONTENT_TYPE)); + |
