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 |
Tags
- 이클립스
- php
- Linux
- laravel
- input
- Android
- MySQL
- junit
- 리눅스
- File
- larravel
- curl
- 안드로이드
- 정규식
- JSON
- 와일드카드
- NetBeans
- DB
- java
- javascript
- jquery
- CentOS
- properties
- error
- Spring
- html
- SeLinux
- ajax
- tomcat
- 톰캣
Archives
- Today
- Total
목록GCM (1)
합쭈기 programming
GCM 서비스 사용하기
[php sample] array($registration_id),'data' => array('data1' => 'yes', 'data2' => 'no')); $headers = array( "Content-Type:application/json", "Authorization:key=".$auth ); print(""); print(json_encode($data)); print("\n"); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://android.googleapis.com/gcm/send"); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEE..
PHP
2015. 6. 22. 17:35