title: Can I use images without extension in <img>?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3463952/is-it-safe-to-serve-an-image-on-the-web-without-an-extension">Is it safe to serve an image on the web without an extension?</a>  </p>
  </blockquote>
  
  
  
  <p>I'd like to use something like <code>&lt;img src="advertisements/12" style="border: 1px solid"&gt;</code> in a page. FireFox won't display it, which makes me think I have to have a file extension for the file. Am I right here (for the other browsers too), or does FF like mime types?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I've tried all sorts of stuff and it still won't work. I now put an extension on the file correctly (.swf for Flash, for example). I've changed the directory, etc etc. When I call <code>file_exists()</code>, The file is there, all happy and such, however I absolutely cannot get it to render on the page. It could either be a .PNG in an <code>img</code> tag, or a Flash object. Neither works. What am I doing wrong :-(
  Also, if I rename a non-uploaded file to the file the script is looking for, that works fine, but the uploaded ones don't... </p>