title: Page php to find a file in a network filesystem
body: <p>I would like know a function that when i have a path and a piece of filename, the php page find into a directory and give me a result true or false.</p>
  
  <p>For example on the <code>explore.exe</code> i search <code>%99999%.pdf</code> and i have a result. I want replicate the same thing in a php page.</p>
  
  <p>I've find on the internet the function file_exist but i don't know how i pass the <code>%9999%</code> tipe.</p>
  
  <p><code>$a=file_exist('mydirectory\%999999%.pdf');</code> doesn't work.</p>
  
  <p>The <code>r/w</code> permissions are guaranteed.</p>