일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- php
- Laravel
- curl
- variables
- 무료다운로드쿠폰
- date
- string
- JavaScript
- Forms
- OOP
- Linux
- post
- 전략
- jquery
- file-upload
- composer-php
- Session
- UTF-8
- HTML
- Arrays
- Regex
- 웹하드추천
- 경영
- JSON
- 웹하드순위
- function
- Ajax
- MySQL
- Apache
- Today
- Total
목록post (7)
개발! 딱 깔끔하고 센스있게!
post 를 통해서 php 디지털을 android 에서 php 서버로 보내려고 합니다. 다음 코드가 있습니다. HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(url); StringEntity dades = new StringEntity(data); httppost.setEntity(dades); // Execute HTTP Post Request HttpResponse response = httpclient.execute(httppost); HttpEntity resEntity = response.getEntity(); return resEntity.getContent(); 저는 php 그룹이 가능하다고 ..
ajax 사용방법 및 순서대로 코드실행이 안되는경우 ajax 기본형태 $.ajax({type: 'POST',url: "/test.php",data: {"name": "gogogo"},dataType : "json",async: false,complete: function(data){//통신완료시},success: function(data){//통신성공시},error: function(){//통신실패시},fail: function(){//오류발생시}}); post 로 간단히 보낼 경우 $.post("/test.php", {"name" : "gogogo"}, function(data){ }); - ajax 호출시 코드가 순서대로 실행되지 않거나 섞이는 경우가 있다. ajax가 비동기식으로 동작하여 발생하는 ..