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: [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 between different

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 the

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 the browser prior to

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

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

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

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

[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

[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 sort