title: window.open() not working when the file location is within a subfolder
body: <p>I am quite new to programing so I apologize for any blatant ignorance, but, I can't find this answer.</p>
  
  <p>I am using <code>window.open()</code> to open a <code>.php</code> file in a popup and passing a variable within the URL for use with <code>$_GET</code>.</p>
  
  <p>Everything works fine when the <code>.php</code> page file I am opening is located in my main directory, for example:</p>
  
  <blockquote>
    <p>window.open("../filetoopen.php?link="+variable, ...)</p>
  </blockquote>
  
  <p>But, when I move <code>filetoopen</code> into a different subfolder and change the path, the webpage will not load.<br>
  example:</p>
  
  <blockquote>
    <p>window.open("../subfolder/filetoopen.php/link="+variable, ...)</p>
  </blockquote>
  
  <p>Just as a side note, I am working on a web app that has been developed by multiple people over several years and have only just begun familiarizing myself with its inner workings.</p>
  
  <p>Any insight/suggestions would be much appreciated.</p>