echo "<img src=\"../images/l/$ID/{$row1[FileName]}\" alt=\"\">";<br><br>where FileName is the array descriptor and $row1 is the dataset from the query.<br><br>It works fine for most jpg's but not for all.<br>
<br><div class="gmail_quote">2008/11/26 David Tomaschik <span dir="ltr"><<a href="mailto:david@tuxteam.com">david@tuxteam.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How are you handling the file? A code snippet might help.<br><br>David<br><br><br><div class="gmail_quote">2008/11/26 Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">Why does PHP try to eval a jpg file?<br><br>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.<br>
<br>I _KNOW_ php can do this properly as a gazillion sites do this all the time. <br><br><br>?????Puzzled?????<br clear="all"><br>-- <br><font color="#888888">-- <br>James P. Kinney III <br><br>
</font><br></div></div>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III <br><br>