mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-16 01:39:58 +09:00
제로보드4, zb5beta xml데이터를 import시에 log보이는 부분 정리 및 첨부파일 받는 부분의 오류 수정 (url에 공백이 있을 경우 받지 못했음)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1915 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
149cabe68b
commit
9d8feacbf0
5 changed files with 14 additions and 1 deletions
|
|
@ -137,6 +137,7 @@
|
|||
$fp = @fsockopen($url_info['host'], $url_info['port']);
|
||||
if(!$fp) return;
|
||||
|
||||
$url_info['path'] = str_replace(' ','%20',$url_info['path']);
|
||||
$header = sprintf("GET %s HTTP/1.0\r\nHost: %s\r\nReferer: %s://%s\r\n\r\n", $url_info['path'], $url_info['host'], $url_info['scheme'], $url_info['host']);
|
||||
@fwrite($fp, $header);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue