Re: [PHP] TIFF display problem...

2004-06-24 Thread Richard Harb
Are you certain there are no other characters being sent (introduced by the addition) in the 'body' beside the image? Will you get any output (characters and all) if you request the image file directly - without embedding it into a page using img src or whatever? While I have used only the

Re: [PHP] TIFF display problem...

2004-06-24 Thread Richard Harb
Argh, I see your problem was already solved (answers haven't been listed as one thread, so I missed em). Oh well. -Original Message- Sent: Thursday, June 24, 2004, 11:58:15 AM Are you certain there are no other characters being sent (introduced by the addition) in the 'body' beside the

[PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
Hi All, I've run into a jam.. I have the follow PHP script: ? header(Content-type: image/tiff); $_GET['id'] = str_replace( ., , $_GET['id'] ); $_GET['id'] = str_replace( /, , $_GET['id'] ); $blah = /usr/local/apache/chm-images/ .

Re: [PHP] TIFF display problem...

2004-06-21 Thread Matt Matijevich
[snip] session_start(); if ( !$_SESSION['user_id'] ) { exit(); } [/snip] Are you sure you are getting past the if ( !$_SESSION['user_id'] ) condition? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
, June 21, 2004 3:57 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] TIFF display problem... [snip] session_start(); if ( !$_SESSION['user_id'] ) { exit(); } [/snip] Are you sure you are getting past the if ( !$_SESSION['user_id

RE: [PHP] TIFF display problem...

2004-06-21 Thread Matt Matijevich
[snip] Yeah, positive, I should probably clarify more. session_start(); is what causes it not to display, and gives me the error. The error is that the site cannot download the file. [/snip] I dont know much about the plugins to view the tiff's, but maybe some of the http headers that

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
] Subject: RE: [PHP] TIFF display problem... [snip] Yeah, positive, I should probably clarify more. session_start(); is what causes it not to display, and gives me the error. The error is that the site cannot download the file. [/snip] I dont know much about the plugins to view

Re: [PHP] TIFF display problem...

2004-06-21 Thread Daniel Clark
Do you want... if ( !isset($_SESSION['user_id']) ) [snip] session_start(); if ( !$_SESSION['user_id'] ) { exit(); } [/snip] Are you sure you are getting past the if ( !$_SESSION['user_id'] ) condition? -- PHP General Mailing List

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
: Monday, June 21, 2004 4:47 PM To: Matt Matijevich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] TIFF display problem... Do you want... if ( !isset($_SESSION['user_id']) ) [snip] session_start(); if ( !$_SESSION['user_id'] ) { exit

RE: [PHP] TIFF display problem...

2004-06-21 Thread Daniel Clark
Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 4:47 PM To: Matt Matijevich Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] TIFF display problem... Do you want... if ( !isset($_SESSION['user_id']) ) [snip] session_start

RE: [PHP] TIFF display problem...

2004-06-21 Thread Matt Matijevich
[snip] The only problem with turning them off is I need the page to be secured. My only option is session tracking. [/snip] session management does not require that these headers be sent to the browser to work. Try turning off the cache-control headers. The cookie and the headers are

RE: [PHP] TIFF display problem...

2004-06-21 Thread Dan Joseph
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] TIFF display problem... [snip] The only problem with turning them off is I need the page to be secured. My only option is session tracking. [/snip] session management does not require that these headers be sent to the browser to work