일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- work6.kr
- 사이트제작
- 워크식스
- 제이쿼리
- 웹디자인
- PHP
- 튜닝
- 안드로이드
- 웹개발자
- 쇼핑몰
- 개발자
- jQuery Plugin
- 웹퍼블리싱
- 커스터마이징
- 플러그인
- 웹에이전시
- 웹퍼블리셔
- 3D프린터
- 쇼핑몰구축
- 고도몰
- 홈페이지제작
- JQuery
- 쇼핑몰제작
- 프로그래머
- 홈페이지
- plugin
- 웹디자이너
- CSS
- 홈페이지구축
- 포트폴리오
- Today
- Total
목록POST (2)
그냥 개발자 블로그
보내는 쪽 $url = 'http://xxxx.com';$post['data'] = 'data'; $ch = @curl_init(); curl_setopt($ch, CURLOPT_URL,$url);curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);$res = curl_exec ($ch); curl_close ($ch); // Close cURL handle ver_dump($res); 받는 쪽 if($_POST['data']){echo 'Success : '.$_POST['data'];}else{echo 'Fail';} [문의..
function objectToArray($d) { if (is_object($d)) { // Gets the properties of the given object // with get_object_vars function $d = get_object_vars($d); } if (is_array($d)) { /* * Return array converted to object * Using __FUNCTION__ (Magic constant) * for recursive call */ return array_map(__FUNCTION__, $d); } else { // Return array return $d; } } $post = json_decode(file_get_contents('php://inp..