Sending notifications to Google Cloud Messaging with php gives me Unauthorized Error 401
问题 Searching for some info about how to send notifications using GCM but with PHP instead of servlets, i found this: GCM with PHP (Google Cloud Messaging) I tested the working code of the responses of these questions, also i created a Key for browser apps (with referers), and i give permissions to this ip: .mywebsite.com/ (te php file is on this url: "http://www.mywebsite.com/~jma/cHtml5/cap/kk.php") But i'm getting this response: Unauthorized Error 401 What i'm doing wrong? this is the php file