title: Why does php not push to firebase?
body: <p>I am trying to connect php to firebase, here is my <strong>index.php</strong> code:</p>
  
  <pre><code>&lt;?php
  require_once('firebasephp/lib/firebaseInterface.php');
  require_once('firebasephp/lib/firebaseStub.php');
  require_once('firebasephp/firebaseLib.php');
  require_once('fbasetokengenerator/FirebaseToken.php');
  require_once('phpjwt/Authentication/JWT.php');
  
  $firebase = new Firebase('https://shining-heat-3850.firebaseio.com/', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
  $data = [
  'ip' =&gt; "123456789",
  'session' =&gt; "1234",
  'sequence' =&gt; "12",
  'time' =&gt; "159159159",
  'event' =&gt; "Pause",
  'data' =&gt; "1" ];
  
  $res = $firebase-&gt;push('https://shining-heat-3850.firebaseio.com/data.json', $data);
  ?&gt;
  </code></pre>
  
  <p>Am I doing it right? I used <a href="https://github.com/ktamas77/firebase-php" rel="nofollow">firebase-php by ktamas</a>, <a href="https://github.com/firebase/php-jwt" rel="nofollow">firebasephp-jwt</a> and firebase token generator. How can I connect to my firebase? It's just a simple push. By the way, I have not edited anything I used in require_once. The firebaseInterface.php, firebaseStub.php etc. are not edited and I just used it as is.</p>