[PHP] image problem

2005-03-24 Thread William Stokes
Hello, I really can't figure this out. Can someone help please. I've wasted hours already with this one. I'm trying to print image to a web page using fpassthru. Here's the code: $name = path/to/the/image/folder/img1.jpeg; $fp = fopen($name, 'rb'); // send the right headers

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

[PHP] Image Problem

2004-06-28 Thread Monil Chheda
Hi, I store images in DB properly... no issues using the following code ?php // store.php3 - by Florian Dittmer [EMAIL PROTECTED] // Example php script to demonstrate the storing of binary files into // an sql database. More information can be found at http://www.phpbuilder.com/ ? html

Re: [PHP] Image Problem

2004-06-28 Thread Binay
PROTECTED] Sent: Monday, June 28, 2004 1:24 AM Subject: [PHP] Image Problem Hi, I store images in DB properly... no issues using the following code ?php // store.php3 - by Florian Dittmer [EMAIL PROTECTED] // Example php script to demonstrate the storing of binary files into // an sql

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

[PHP] Image problem

2002-10-09 Thread Donahue Ben
I upload an image. Once I upload this image using the is_uploaded_file function, then writing this image file using the copy function. Everything seems to work fine. When i try to update (that is uploading a new file and saving it with the same name as the first file created) it shows the

Re: [PHP] Image problem

2002-10-09 Thread David Erickson
Message - From: Donahue Ben [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 09, 2002 1:00 PM Subject: [PHP] Image problem I upload an image. Once I upload this image using the is_uploaded_file function, then writing this image file using the copy function. Everything seems

Re: [PHP] Image problem

2002-10-09 Thread Owen Prime
); // HTTP/1.1 header(Cache-Control: post-check=0, pre-check=0, false); header(Pragma: no-cache); // HTTP/1.0 - Original Message - From: Donahue Ben [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 09, 2002 1:00 PM Subject: [PHP] Image

[PHP] Image Problem

2002-10-08 Thread Mark Colvin
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 script uses php functions imagecreate, imagecreatefromjpeg,

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

[PHP] Image problem

2001-12-07 Thread Peter Lalka
Hi. I've instaled and cofigured php4 on WinNT with Apache Web server. I can't use any fuction of Image manipulation, 'cause I get this error message: ImageGif: No GIF support in this PHP build In phpinfo() is listed that: gd lib. enabled, zlib lib. enabled. What do I still miss there? Peter.

[PHP] Image problem

2001-05-15 Thread Michael O'Neal
Hi, I'm still pretty new to PHP, and would like help on a solution for a problem I have. I have a website that has 6 different sections. (about, news, buying, selling, community, and relocation) Each of the sections has it's own subfolder in the root directory of the website. (/about,

RE: [PHP] Image problem

2001-05-15 Thread Jerry Lake
://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Michael O'Neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 10:14 AM To: php Subject: [PHP] Image problem Hi, I'm still pretty new to PHP, and would like help on a solution for a problem I have. I

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

[PHP] Image problem

2001-01-19 Thread Mike Yuen
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? Thanks, Mike -- PHP General Mailing List