Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Location
    Texas
    Posts
    472
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Recognizing .JPG files as PHP

    Is there any way that I can make Dreamweaver recognize .JPG files as PHP? Right now it just says "Dreamweaver can not open JPG files."
    If you're reading this, it may already be too late!

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    Sorry mate this really would be a configuration issue / programming logic issue with the dreamweaver application itself. I don't use dreamweaver, but I'm betting that is assumes any mime typing based on the extension as opposed to the actual content type, but I cannot confirm that.
    Sorry, but it looks like you'll end up having to test it through an actual interpreter as opposed to whatever built in browser is used.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •