
10.01.2009, 00:00
|
|
Banned
Регистрация: 19.06.2006
Сообщений: 1,239
Провел на форуме: 1469161
Репутация:
142
|
|
Пасибо,не заметил)))
<?php
$ci = curl_init();
$s = fopen("https://site.ru/shop.php","r");
while(!FEOF($s)) {
$k = fgets($s);
echo $k;
}
curl_setopt($ci,CURLOPT_FILE,$s);
curl_exec($ci);
curl_close($ci);
fclose($s);
?>
Вот сейчас возвращает,но выводит ошибку
Warning: curl_setopt() [function.curl-setopt]: cannot represent a stream of type tcp_socket/ssl as a STDIO FILE* in C:\Program Files\VertrigoServ\www\curl.php on line 9
|
|
|