s and
type
GET /ddownloadfile.php?fileId=1 HTTP/1.0
for the request as normal
Hope this helps
Andrew
- Original Message -
From: Narvaez, Teresa
To: 'Andrew Brampton' ; [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 10:21 PM
Subject: RE: [PHP] Unable to
;
echo $fileContent;
}
else
{
echo "Record does not exist";
} // else
?>
-Original Message-
From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 5:08 PM
To: Narvaez, Teresa; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [PHP] Unable to display images on browser
GIF, word, JPG, etc)
Am
> I missing something?
>
> Thanks,
> -Teresa
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 28, 2002 4:12 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Unable to display images
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:12 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Unable to display images on browser
You need to insert the following lines after this line:
Header("Content-type: image/gif&qu
lto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 8:32 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: [PHP] Unable to display images on browser
Hello, Thanks for your help. This is what I have for file1.php and
ddownloadfile.php. What I want is to click on "Donwnl
IL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 4:56 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Unable to display images on browser
Well, you probably need to do something like this:
file1.php (where you want to display an image)
end file1
getima
> Sent: Wednesday, February 27, 2002 2:08 AM
> To: 'Dean Householder'; [EMAIL PROTECTED]
> Subject: [PHP] Unable to display images on browser
>
>
> Hello,
> I do not understand why I can't display images
> retrieved from MySQL
> on my browser(IE 4.0).
try using gd if you have >= 1.8.3 then you will have to use ImagePng() and
Content-type: image/png instead of ImageGif() to export the image.
header ("Content-type: image/gif");
$im = ImageCreateFromString ($fileContent);
ImageGif ($im);
=S.
On Tue, 26 Feb 2002, Narvaez, Teresa wrote:
> Hello
Hello,
I do not understand why I can't display images retrieved from MySQL
on my browser(IE 4.0). When I retrieve the image from MYSQL I set the
Header function to change the type of content(image/gif) I am sending to the
browser. However, the browser displays an box with an X in it. I
9 matches
Mail list logo