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; W

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 com

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 > > > > 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 wil

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 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 gene

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. "" 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 > servers not to cache anything from

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-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 ''; > > The thumbnail.php script uses php functions imagecreate, > imagecreatefromjpeg, imagecopyresized. The script created a thumbnail O

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 > >if (ereg ("new", $PHP_SELF)) { > $header = " $title = "www.website.com - What's New"; } >elseif (ereg ("products", $PHP_SELF)) { > $header

RE: [PHP] Image problem

2001-05-15 Thread Jerry Lake
This is how I fixed that same issue in the head of my page if (ereg ("new", $PHP_SELF)) { $header = " then call the header in in the appropriate place in your html Jerry Lake Interface Engineering Technician Europa Communications - http://www.europa.com Pacifier Online - http://www

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: > > > 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 tag looks like. I suspect y