1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php include("./_common.php");
$loginUrl = "http://api.11st.co.kr/rest/prodservices/updateProductDetailCont/1293194006";
$detail_html = "<p><img id=\"1180112814\" name=\"image\" src=\"http://i.011st.com/editorImg/2018/01/12/40302753/2018011213141241354.png\" style=\"border-top: medium none; border-right: medium none; border-bottom: medium none; border-left: medium none\" swaf:cywrite:file_seq=\"\" swaf:cywrite:info=\"image|2018011213141241354.png|http%3A%2F%2Fi.011st.com%2FeditorImg%2F2018%2F01%2F12%2F40302753%2F2018011213141241354.png|381082|37027458\" swaf:cywrite:object_id=\"1180112814\" /></p> <p> </p> <p>판매테스트입니다. 구매하지 마세요.A/S불가반품하면 환불해줌1</p>";
$detail_html = str_replace("<","<",$detail_html); $detail_html = str_replace(">",">",$detail_html);
$detail_html = iconv("utf8","",$detail_html);
$logindata = "<?xml version=\"1.0\" encoding=\"euc-kr\" standalone=\"yes\"?> <ProductDetailCont> <prdDescContClob>{$detail_html}</prdDescContClob> </ProductDetailCont>";
$xml = curl_call_post($loginUrl,$logindata,$apikey); $res = cur_11_rtn_conv($xml); _pr($res); ?>
|