title: Can you edit php variables through the include method?
body: <p>Is there a way to edit a variable from another php file through the include method? I'm trying to create a database file because actual databases aren't an option for me right now and I find this easier. Here's my code:</p>
  
  <pre><code>include 'database.php';
  $new = array_slice($passwords,0,1);
  $passwords = $new;
  </code></pre>
  
  <p>And the database.php file:</p>
  
  <pre><code>&lt;?php
  $usernames = array("first", "second");
  $passwords = array("first", "second");
  ?&gt;
  </code></pre>
  
  <p>I'm trying to remove the second username and password, but
  It doesn't seem to work. Is there another way I could do this? Thanks in advance!</p>