목록웹_서버_개발/PHP (2)
공부하는 소담아빠
define("GOOGLE_API_KEY", "YOUR API KEY"); function sendNotificationAndroid ($tokens, $message, $bodys) { $url = 'https://fcm.googleapis.com/fcm/send'; $fields = array( 'notification' => $bodys, // 푸시 알림 팝업을 띄우려면 이 항목을 주석처리 'registration_ids' => $tokens, 'priority' => 'high', 'data' => $message ); $headers = array( 'Authorization:key =' . GOOGLE_API_KEY, 'Content-Type: application..
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-mysql-sock=/tmp --with-mysqli --with-pdo-mysql=shared --with-openssl --with-pcre-regex --with-zlib --with-bz2 --with-curl --with-gdbm --with-db4=/usr --with-dbm --with-pcre-dir=/usr --with-openssl-dir=/usr --with-libxml-dir=/usr --with-jpeg-dir=/usr/lib64 --with-gd ..