Since the link goes directly to the picture, how do I apply the header
first? Should I apply it in the html page the link is on?
:)
Thanks!
-Mike
Hello Mike,
Tuesday, January 13, 2004, 5:31:47 PM, you wrote:
MR That's what I kind of thought, but this is a case where the browser is
: [EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 5:03 PM
Subject: RE: Re[4]: [PHP] Re: jpeg Uploader issue
Since the link goes directly to the picture, how do I apply the header
first? Should I apply it in the html page the link is on?
--
PHP General Mailing List (http://www.php.net
From: Toby Irmer [EMAIL PROTECTED]
file: show.php
?
header(Content-type: image/jpeg);
readfile(/path/to/file/.$_GET[filename]);
?
in your files:
img src=show.php?filename=myfile.jpg ...
or something like that ;)
Are you trying to get him to compromise his server? I'm sure that's
]
Sent: Thursday, January 15, 2004 5:15 PM
Subject: Re: Re[4]: [PHP] Re: jpeg Uploader issue
From: Toby Irmer [EMAIL PROTECTED]
file: show.php
?
header(Content-type: image/jpeg);
readfile(/path/to/file/.$_GET[filename]);
?
in your files:
img src=show.php?filename=myfile.jpg
From: Toby Irmer [EMAIL PROTECTED]
that was explaining the prinicple.
of course you wouldn't do it like this, but pass an id to identify. you
could also send an encryption key...
Ok. I'm sure the original poster is grateful. Hopefully, if anyone actually
searches those things called the
On Mon, 12 Jan 2004, Mike R wrote:
i had a problem like the one you descriped. The problem was quite
simple. In my case everything worked fine with Windows-Web-Browsers
but not with MAC-Browsers. Check the value of the filetype variable.
There might be differences between different
Hello Mike,
Tuesday, January 13, 2004, 2:55:44 PM, you wrote:
In PHP you would set the Content-type header like so:
header(Content-type: image/jpeg);
MR So, should I write that header to the actual image file prior to the image
MR itself?
You should output it to the browser prior to the
Hello Mike,
Tuesday, January 13, 2004, 2:55:44 PM, you wrote:
In PHP you would set the Content-type header like so:
header(Content-type: image/jpeg);
MR So, should I write that header to the actual image file prior
to the image
MR itself?
You should output it to the browser prior to
Hello Mike,
Tuesday, January 13, 2004, 5:31:47 PM, you wrote:
MR That's what I kind of thought, but this is a case where the browser is
MR opening the image directly - there is no html code or placement in an html
MR page.
It doesn't matter, it's still being served via HTTP and that's what
Sinc the link goes directly to the picture, how do I apply the header first?
Should I apply it in the html page the link is on?
:)
Thanks!
-Mike
Hello Mike,
Tuesday, January 13, 2004, 5:31:47 PM, you wrote:
MR That's what I kind of thought, but this is a case where the browser is
MR
i had a problem like the one you descriped.
The problem was quite simple. In my case everything
worked fine with Windows-Web-Browsers but not with
MAC-Browsers.
Check the value of the filetype variable. There might be
differences between different plattforms.
I'm sorry to sound stupid
On Mon, 12 Jan 2004, Mike R wrote:
i had a problem like the one you descriped. The problem was quite
simple. In my case everything worked fine with Windows-Web-Browsers
but not with MAC-Browsers. Check the value of the filetype variable.
There might be differences between different
On Mon, 12 Jan 2004, Mike R wrote:
i had a problem like the one you descriped. The problem was quite
simple. In my case everything worked fine with Windows-Web-Browsers
but not with MAC-Browsers. Check the value of the filetype variable.
There might be differences between different
Hi,
i had a problem like the one you descriped.
The problem was quite simple. In my case everything
worked fine with Windows-Web-Browsers but not with
MAC-Browsers.
Check the value of the filetype variable. There might be
differences between different plattforms.
Volker
--
PHP General Mailing
Could you give us details on: how the uploads is being made: HTTP, or FTP;
tests you have made, etc.
Manu.
Mike R [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am having an issue where a user with a MAC can't see jpegs uploaded to a
web site I built. They are getting some sort
15 matches
Mail list logo