My app is still in development and I used this tutorial to send iOS Push Notifications using PHP and SSL.
http://www.raywenderlich.com/32960/apple-push-notification-serv
array("alert" => $message, "badge" => 4, "sound" => 'default', "code" => 200)); $data = json_encode($content); foreach ($deviceToken as $token) { $msg = chr(0) . pack("n", 32) . pack("H*", $token) . pack("n", strlen($data)) . $data; fwrite($fp, $msg); fflush($fp); } fclose($fp);