|
страница с чужого сайта
|
|||
---|---|---|---|
#18+
нужна страница с чужого сайта, но при попытке установить сокс соединение, типа: ------------------------------------------------- $ho="www.pollutec.com"; $pa="/exhibitors/2002/2.htm"; $fp = fsockopen ($ho, 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)---<br>\n"; } else { fputs ($fp, "GET http://$ho$pa HTTP/1.0\r\n\r\n"); fputs ($fp, "Host: $ho \r\n\r\n"); while (!feof($fp)) { $tx.=fgets ($fp,128); } fclose ($fp); } ------------------------------------------------- выдаёт ошибку 111. как можно обойти? ... |
|||
:
Нравится:
Не нравится:
|
|||
16.04.2003, 12:08 |
|
|
start [/forum/topic.php?fid=23&fpage=533&tid=1480625]: |
0ms |
get settings: |
9ms |
get forum list: |
11ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
39ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
others: | 13ms |
total: | 127ms |
0 / 0 |