mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
플래닛용 me2day api에 잘못된 코드 추가된 것 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5913 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a8c8ea5c88
commit
cafe2ac4a0
1 changed files with 2 additions and 10 deletions
|
|
@ -56,17 +56,9 @@
|
|||
);
|
||||
if($content) $header.=$content."\r\n\r\n";
|
||||
|
||||
/******************* 게이트웨이용 임시 코드 ****************************/
|
||||
$fp = fsockopen("blog.nzeo.com", 80);
|
||||
$fp = fsockopen($host, $port);
|
||||
if(!$fp) return null;
|
||||
$body = "body=".base64_encode($header);
|
||||
fwrite($fp, "POST /me2gateway.php HTTP/1.0\r\nHost: blog.nzeo.com\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: ".strlen($body)."\r\n\r\n".$body."\r\n\r\r");
|
||||
/***********************************************************************/
|
||||
|
||||
|
||||
//$fp = fsockopen($host, $port);
|
||||
//if(!$fp) return null;
|
||||
//fwrite($fp, $header);
|
||||
fwrite($fp, $header);
|
||||
|
||||
$started = false;
|
||||
while(!feof($fp)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue