[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] PHP hates JPG
- Subject: [ale] PHP hates JPG
- From: david at tuxteam.com (David Tomaschik)
- Date: Wed, 26 Nov 2008 08:20:53 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
How are you handling the file? A code snippet might help.
David
2008/11/26 Jim Kinney <jim.kinney at gmail.com>
> Why does PHP try to eval a jpg file?
>
> I am using php to build a web page (duh!). The images are placed based on a
> database lookup for the images file name. Apparently, once php gets that
> file name it parses it as more php code. So any jpg with a ?> or other php
> indicator character pattern is not displayed and my httpd error logs file
> with "PHP Warning: Unexpected character in input: '\x07' (ASCII=7) state=1
> .." messages.
>
> I _KNOW_ php can do this properly as a gazillion sites do this all the
> time.
>
>
> ?????Puzzled?????
>
> --
> --
> James P. Kinney III
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20081126/9d2cbbce/attachment.html