iOS でアプリを作成していて、PushNotifications を実装したいと考えています。https://github.com/manifestinteractive/easyapnsの EasyAPNS コードを使用しています。 構成するときは、Mysql-Database 情報を DB_Connect php ファイルに追加する必要があります。私はphpが苦手なので、チュートリアルでファイルが常に異なって見えるのを見たので、ファイルに自分の情報を正確に入力する必要があるかどうかについては、ここでは手がかりがありません. 進め方について何かご指導いただけないでしょうか。Thnaks、oengelha。
コードスニペットは次のとおりです。
/**
    * Constructor. Initializes a database connection and selects our database.
    * @param string $host       The host to wchich to connect.
    * @param string $username   The name of the user used to login to the database.
    * @param string $password   The password of the user to login to the database.
    * @param string $database   The name of the database to which to connect.
    */
    function __construct($host, $username, $password, $database)
    {
        $this->DB_HOST     = $host;
        $this->DB_USERNAME = $username;
        $this->DB_PASSWORD = $password;
        $this->DB_DATABASE = $database;
    }