well. I did get the php stuff working. By changing the php.ini to no longer user short tags the jpgs all display properly now.<br><br>Laptop _still_ has RAM issues. Upgraded bios to latest patch (they only recently &quot;fixed&quot; accessing 4GB). F10 still has &quot;iisues&quot; (HEY! I _know_. It&#39;s a new Fedora release. -sheesh-)&nbsp; :-)<br>
<br>Going to let memtest86+ run it&#39;s course overnight while I recover from binge eating.<br><br><div class="gmail_quote">On Thu, Nov 27, 2008 at 1:08 PM, Barlow, Jim D <span dir="ltr">&lt;<a href="mailto:jim.d.barlow@intel.com">jim.d.barlow@intel.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">One will get only about 3G with the amount of address space PCI-e[xpress] plus other peripherals chews up just for being in the chipset. &nbsp; A 32 bit OS without physical address extensions loses nearly a gigabyte of address space.<br>

<br>
That doesn&#39;t solve your image failures, but may explain the memory availability. &nbsp;One will see a lot of laptops now being sold with 3GB of RAM, once channel 2GB and one 1GB for this reason.<br>
<br>
<a href="http://www.polywell.com/us/support/faq/4GB_Rev1.pdf" target="_blank">http://www.polywell.com/us/support/faq/4GB_Rev1.pdf</a> &nbsp;Shows an example on how a 4GB system and 3GB system may both end up showing 2.84 as what is left over.<br>

<br>
<br>
&nbsp;- Jim<br>
<br>
________________________________<br>
<br>
From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] On Behalf Of Jim Kinney<br>
Sent: Wednesday, November 26, 2008 12:45 PM<br>
To: <a href="mailto:ale@ale.org">ale@ale.org</a><br>
Subject: Re: [ale] PHP hates JPG<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
Hmm. I moved the code to another vanilla f9 machine and it works. I also noticed the failure is a sequenced, repeatable one - every 5th image fails.<br>
<br>
bad ram is suspect now. The machine has a recent upgrade to 4GB but is running 32-bit and only can access far less than it should. I expect around 3.5GB not less than 3GB. The video is only hogging up 256MB.<br>
<br>
It was noticeably &quot;hanging&quot; for a few seconds every 10-15 minutes or so last night. The free -m check looks _wrong_ for x2 2GB sodimms...<br>
# free -m<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total &nbsp; &nbsp; &nbsp; used &nbsp; &nbsp; &nbsp; free &nbsp; &nbsp; shared &nbsp; &nbsp;buffers &nbsp; &nbsp; cached<br>
Mem: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2659 &nbsp; &nbsp; &nbsp; 1636 &nbsp; &nbsp; &nbsp; 1023 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;152 &nbsp; &nbsp; &nbsp; &nbsp;829<br>
-/+ buffers/cache: &nbsp; &nbsp; &nbsp; &nbsp;654 &nbsp; &nbsp; &nbsp; 2005<br>
Swap: &nbsp; &nbsp; &nbsp; &nbsp; 1791 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; 1791<br>
<br>
<br>
<br>
Time to find my MicroCenter receipt...<br>
<br>
<br>
On Wed, Nov 26, 2008 at 11:57 AM, James Sumners &lt;<a href="mailto:james.sumners@gmail.com">james.sumners@gmail.com</a>&gt; wrote:<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;echo &#39;&lt;img src=&quot;../images/I/&#39; . $ID . &#39;/&#39; .<br>
 &nbsp; &nbsp; &nbsp; &nbsp;htmlentities($row1[&#39;FileName&#39;]) . &#39;&quot; alt=&quot;&quot;&gt;&#39;;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;You need to quote the array index if it is a named index. The call to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;htmlentities() should fix any problems with odd file names (spaces,<br>
 &nbsp; &nbsp; &nbsp; &nbsp;etc.). Other than that, there is nothing you have shown us that would<br>
 &nbsp; &nbsp; &nbsp; &nbsp;cause PHP to parse the image as code. You are merely working with<br>
 &nbsp; &nbsp; &nbsp; &nbsp;text. If you are having a problem with the image being parsed as code,<br>
 &nbsp; &nbsp; &nbsp; &nbsp;the culprit is in another block.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;2008/11/26 Jim Kinney &lt;<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>&gt;:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; echo &quot;&lt;img src=\&quot;../images/l/$ID/{$row1[FileName]}\&quot; alt=\&quot;\&quot;&gt;&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; where FileName is the array descriptor and $row1 is the dataset from the<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; query.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; It works fine for most jpg&#39;s but not for all.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; 2008/11/26 David Tomaschik &lt;<a href="mailto:david@tuxteam.com">david@tuxteam.com</a>&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; How are you handling the file? &nbsp;A code snippet might help.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; David<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; 2008/11/26 Jim Kinney &lt;<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; Why does PHP try to eval a jpg file?<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; I am using php to build a web page (duh!). The images are placed based on<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; a database lookup for the images file name. Apparently, once php gets that<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; file name it parses it as more php code. So any jpg with a ?&gt; or other php<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; indicator character pattern is not displayed and my httpd error logs file<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; with &quot;PHP Warning: &nbsp;Unexpected character in input: &nbsp;&#39;\x07&#39; (ASCII=7) state=1<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; ..&quot; messages.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; I _KNOW_ php can do this properly as a gazillion sites do this all the<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; time.<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; ?????Puzzled?????<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; --<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; --<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; James P. Kinney III<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; _______________________________________________<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; Ale mailing list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; _______________________________________________<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; Ale mailing list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; --<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; --<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; James P. Kinney III<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; _______________________________________________<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; Ale mailing list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&gt;<br>
<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;--<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;James Sumners<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&quot;All governments suffer a recurring problem: Power attracts<br>
 &nbsp; &nbsp; &nbsp; &nbsp;pathological personalities. It is not that power corrupts but that it<br>
 &nbsp; &nbsp; &nbsp; &nbsp;is magnetic to the corruptible. Such people have a tendency to become<br>
 &nbsp; &nbsp; &nbsp; &nbsp;drunk on violence, a condition to which they are quickly addicted.&quot;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Missionaria Protectiva, Text QIV (decto)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;CH:D 59<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;_______________________________________________<br>
 &nbsp; &nbsp; &nbsp; &nbsp;Ale mailing list<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
--<br>
James P. Kinney III<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br><br>