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 "fixed" accessing 4GB). F10 still has "iisues" (HEY! I _know_. It's a new Fedora release. -sheesh-) :-)<br>
<br>Going to let memtest86+ run it'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"><<a href="mailto:jim.d.barlow@intel.com">jim.d.barlow@intel.com</a>></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. A 32 bit OS without physical address extensions loses nearly a gigabyte of address space.<br>
<br>
That doesn't solve your image failures, but may explain the memory availability. 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> 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>
- 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 "hanging" 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>
total used free shared buffers cached<br>
Mem: 2659 1636 1023 0 152 829<br>
-/+ buffers/cache: 654 2005<br>
Swap: 1791 0 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 <<a href="mailto:james.sumners@gmail.com">james.sumners@gmail.com</a>> wrote:<br>
<br>
<br>
echo '<img src="../images/I/' . $ID . '/' .<br>
htmlentities($row1['FileName']) . '" alt="">';<br>
<br>
You need to quote the array index if it is a named index. The call to<br>
htmlentities() should fix any problems with odd file names (spaces,<br>
etc.). Other than that, there is nothing you have shown us that would<br>
cause PHP to parse the image as code. You are merely working with<br>
text. If you are having a problem with the image being parsed as code,<br>
the culprit is in another block.<br>
<br>
2008/11/26 Jim Kinney <<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>>:<br>
<br>
> echo "<img src=\"../images/l/$ID/{$row1[FileName]}\" alt=\"\">";<br>
><br>
> where FileName is the array descriptor and $row1 is the dataset from the<br>
> query.<br>
><br>
> It works fine for most jpg's but not for all.<br>
><br>
> 2008/11/26 David Tomaschik <<a href="mailto:david@tuxteam.com">david@tuxteam.com</a>><br>
>><br>
>> How are you handling the file? A code snippet might help.<br>
>><br>
>> David<br>
>><br>
>><br>
>> 2008/11/26 Jim Kinney <<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>><br>
>>><br>
>>> 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<br>
>>> a database lookup for the images file name. Apparently, once php gets that<br>
>>> file name it parses it as more php code. So any jpg with a ?> or other php<br>
>>> indicator character pattern is not displayed and my httpd error logs file<br>
>>> with "PHP Warning: Unexpected character in input: '\x07' (ASCII=7) state=1<br>
>>> .." messages.<br>
>>><br>
>>> I _KNOW_ php can do this properly as a gazillion sites do this all the<br>
>>> time.<br>
>>><br>
>>><br>
>>> ?????Puzzled?????<br>
>>><br>
>>> --<br>
>>> --<br>
>>> James P. Kinney III<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>
>>><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>
>><br>
><br>
><br>
><br>
> --<br>
> --<br>
> James P. Kinney III<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>
><br>
><br>
<br>
<br>
<br>
--<br>
<br>
James Sumners<br>
<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
"All governments suffer a recurring problem: Power attracts<br>
pathological personalities. It is not that power corrupts but that it<br>
is magnetic to the corruptible. Such people have a tendency to become<br>
drunk on violence, a condition to which they are quickly addicted."<br>
<br>
Missionaria Protectiva, Text QIV (decto)<br>
CH:D 59<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>
<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 <br><br>