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 is

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

2004-01-15 Thread Toby Irmer
: [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

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

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

2004-01-15 Thread Toby Irmer
] 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

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 the

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 is MR