<div class="gmail_quote">On Wed, Nov 11, 2009 at 2:46 PM, Rami Chowdhury <span dir="ltr"><<a href="mailto:rami.chowdhury@gmail.com">rami.chowdhury@gmail.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;">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Now, the problem is that it doesn't print the picture. It prints only the<br>
url. Please try:<br>
<a href="http://angrynates.com/stcroixresort/cart/getpic.py?w=1&i=1" target="_blank">http://angrynates.com/stcroixresort/cart/getpic.py?w=1&i=1</a><br>
Now, if I go into mysql and the correct database and enter:<br>
select pic1 from products where ID=1;<br>
it starts printing out all sorts of crap (indicative of an image) and I have<br>
to close my ssh client. So it's there, all right. So, here I am back to<br>
trying to figure out how to get that stupid image to print. Please take a<br>
look at the code above and advise.<br>
</blockquote>
<br></div>
I'm fairly sure this was gone through before -- what I'm getting is being properly sent as a JPEG, but it *doesn't contain valid JPEG data*, so the browser can't render it. What the URL you pointed me at seems to contain is the 'readable' representation of an array object.<br>
</blockquote><div><br>Yep. A million times before. The problem was the faulty hardware on the cheap server farm. I've moved ;) <br>Thanks,<br>V <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888">
<br>
-- <br>
Rami Chowdhury<br>
"Never attribute to malice that which can be attributed to stupidity" -- Hanlon's Razor<br>
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)<br>
</font></blockquote></div><br>