Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- 커널
- utf-8
- 시놀로지
- synology
- lsusb
- form
- replace
- ASP
- DS718+
- jquery 레이어
- println
- euc-kr
- javascript
- 따라다니는 배너
- 무선랜카드
- Getrows
- RTL88x2BU
- disabled
- XMLHTTP
- Injection
- ajax
- AC1300
- jQuery
- 크로스 컴파일
- include
- PHP GCM
- SQL Injection
- submit
- readonly
- FileSystemObject
Archives
- Today
- Total
목록GCM (1)
아는 것이 좋은 것이다.
[PHP] 푸시 메시지 보내기 (GCM)
function sendGCM(){ // Replace with the real server API key from Google APIs $apiKey = ""; //구글에서 발급받은 API키값 $regid = $_REQUEST['regid']; // 디바이스 키값 // Replace with the real client registration IDs $registrationIDs = array( $regid ); // Message to be sent $message = iconv("EUC-KR", "UTF-8", "한글 테스트 TEST!!"); //보낼 메시지 // Set POST variables $url = 'https://android.googleapis.com/gcm/send'; //GCM ..
PHP
2014. 7. 15. 22:16