Siin näed erinevusi valitud versiooni ja hetkel kehtiva lehekülje vahel.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
et:xmlcore [2015/08/26 09:38] ott |
et:xmlcore [2020/01/24 14:21] ott [Väljund] |
||
---|---|---|---|
Rida 116: | Rida 116: | ||
curl_setopt($ch, CURLOPT_HEADER, 0); | curl_setopt($ch, CURLOPT_HEADER, 0); | ||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | ||
+ | curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); | ||
curl_setopt($ch, CURLOPT_URL, $url ); | curl_setopt($ch, CURLOPT_URL, $url ); | ||
curl_setopt($ch, CURLOPT_POST, 0); | curl_setopt($ch, CURLOPT_POST, 0); |