title: Function glob() not working with externe URL
body: <p>i'm confused with this problem 
  when im working <strong>locally</strong> it's all fine 
  with this :
   <br> <code>foreach (glob("public/FolderA/B/") as $filename) {</code> 
    <br>but when i put
  <br> <code>foreach (glob("http://www.exemple.com/public/FolderA/B/") as $filename) {</code>
  <br>
  doesn't work any solution ??? 
  <br>
  <strong>History</strong> : in the past i'm working with glob() and communicate with <strong>local server</strong> and the scripte do this jobs perfect now donne is <strong>transfer</strong>t to other server and problem i get is how to put glob() working <strong>with external URL not locally</strong> or some function has same functionality</p>