Re: Re[4]: [PHP] Re: jpeg Uploader issue

2004-01-15 Thread CPT John W. Holmes
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 t

Re: Re[4]: [PHP] Re: jpeg Uploader issue

2004-01-15 Thread Toby Irmer
>; "Mike R" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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("Con

Re: Re[4]: [PHP] Re: jpeg Uploader issue

2004-01-15 Thread CPT John W. Holmes
From: "Toby Irmer" <[EMAIL PROTECTED]> > file: show.php > > header("Content-type: image/jpeg"); > readfile("/path/to/file/".$_GET["filename"]); > ?> > > > in your files: > > > > or something like that ;) Are you trying to get him to compromise his server? I'm sure that's just a simple suggestio

Re: Re[4]: [PHP] Re: jpeg Uploader issue

2004-01-15 Thread Toby Irmer
file: show.php in your files: or something like that ;) hth toby - Original Message - From: "Mike R" <[EMAIL PROTECTED]> To: "Richard Davey" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 15, 2004 5:03 PM Subject: RE

RE: Re[4]: [PHP] Re: jpeg Uploader issue

2004-01-15 Thread Mike R
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

RE: Re[4]: [PHP] Re: jpeg Uploader issue

2004-01-13 Thread Mike R
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 i

Re[4]: [PHP] Re: jpeg Uploader issue

2004-01-13 Thread Richard Davey
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 yo

RE: Re[2]: [PHP] Re: jpeg Uploader issue

2004-01-13 Thread Mike R
> 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 t

Re[2]: [PHP] Re: jpeg Uploader issue

2004-01-13 Thread Richard Davey
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 t

RE: [PHP] Re: jpeg Uploader issue

2004-01-13 Thread Mike R
> 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 betwe

RE: [PHP] Re: jpeg Uploader issue

2004-01-12 Thread Mike R
> 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 betwe

RE: [PHP] Re: jpeg Uploader issue

2004-01-12 Thread Kelly Hallman
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

RE: [PHP] Re: jpeg Uploader issue

2004-01-12 Thread Mike R
> 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

[PHP] Re: jpeg Uploader issue

2004-01-11 Thread Volker Dähn
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 Lis

[PHP] Re: jpeg Uploader issue

2004-01-10 Thread Manuel Vázquez Acosta
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