title: Php strpos does not work correctly when searching a file
body: <p>I have a php file that will search all the files on my server for any files that contains a string. If i hard code the search term in the strpos() it works fine.  but if i try to use a $string it wont work</p>
  
  <pre><code>works:
  $file = file_get_contents($dir);
  if(strpos($file,  'find me')) 
  
  does not work:
  $findme='find me';
  $file = file_get_contents($dir);
  if(strpos($file,  $findme)) 
  </code></pre>
  
  <p>any ideas?</p>
  
  <p>edit:  if(strpos($file, 'find me') !== false)   does not make it work.</p>
  
  <p>resolved: find me must be in tics
  if(strpos($file ,  '$findme'))  </p>