Re: [PHP] image problem

2005-03-24 Thread Tom Rogers
Hi, Friday, March 25, 2005, 3:27:41 AM, you wrote: WS Hello, WS I really can't figure this out. Can someone help please. I've wasted hours WS already with this one. WS I'm trying to print image to a web page using fpassthru. Here's the code: WS $name = path/to/the/image/folder/img1.jpeg; WS

Re: [PHP] Image Problem

2004-06-28 Thread Binay
probably the table in which ur storing the images will be having its primary key set to auto_increment. If tht is the case then when u delete banner(s) then corresponding id(s) match won't be found. i.e say table is having 4 records with ids as follows id =1 id=2 id=3 id=4 so random number

Re: [PHP] Image Problem

2004-06-28 Thread raditha dissanayake
Monil Chheda wrote: Hi, I store images in DB properly... no issues using the Storing an image directly in the database certainly isnt' the proper way of doing it :-) The common practice is just to store the path to the image name in the database. -- Raditha Dissanayake.

Re: [PHP] Image Problem

2004-06-28 Thread Curt Zirzow
* Thus wrote Monil Chheda: Hi, I store images in DB properly... no issues using the following code snip I get an Img with a cross (broken)... Whats the error? its funny, you're error is one click from finding out what it is, view the source of that image and find it you will...

Re: [PHP] Image Problem

2004-06-28 Thread Red Wingate
Read: The best database to store images in is the Filesystem because thats what it's for :-) Raditha Dissanayake wrote: Monil Chheda wrote: Hi, I store images in DB properly... no issues using the Storing an image directly in the database certainly isnt' the proper way of doing it :-) The

Re: [PHP] Image problem

2002-10-09 Thread David Erickson
I had a similar problem and I just put this in front of my php so everytime my scripts are called they always tell the browser and any proxy servers not to cache anything from me. header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);// Date in the past header(Last-Modified: . gmdate(D, d M Y

Re: [PHP] Image problem

2002-10-09 Thread Owen Prime
If the browser still doesn't listen, you can always put a time() arg in you img src. ie. img src=\image.gif? . time() . \ David Erickson wrote: I had a similar problem and I just put this in front of my php so everytime my scripts are called they always tell the browser and any proxy

Re: [PHP] Image Problem

2002-10-08 Thread Jason Wong
On Tuesday 08 October 2002 20:08, Mark Colvin wrote: I have just upgraded php from 4.0.6 to 4.2.3. Everything works OK apart from the line below - echo 'td colspan=2 rowspan=2 align=centerimg alt=No Image to display. src=thumbnail.php?image=00042.jpg valign=top//td'; The thumbnail.php

RE: [PHP] Image problem

2001-05-15 Thread Jerry Lake
This is how I fixed that same issue in the head of my page snip if (ereg (new, $PHP_SELF)) { $header = img src=location/of/header/image; $title = www.website.com - What's New; } elseif (ereg (products, $PHP_SELF)) { $header = img src=location/of/header/image;

RE: [PHP] Image problem

2001-05-15 Thread Michael O'Neal
On Tue, 15 May 2001 10:23:39 -0700, Jerry Lake [EMAIL PROTECTED] wrote: This is how I fixed that same issue in the head of my page snip if (ereg (new, $PHP_SELF)) { $header = img src=location/of/header/image; $title = www.website.com - What's New; } elseif (ereg (products,

Re: [PHP] Image problem

2001-01-20 Thread Richard Lynch
Can anyone tell me how to display both jpg and gif images. Basically, what i've got is: img src="$filedir/$CUserName".jpg Now, I know I probably need slashes in there and I played around with it but no luck. Where do I put them? TIP: Use "View Source" in your browser to see what the IMG