Re: [PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Kevin Smith
Solved! I don't believe it, there was an extra carriage return in the require file "housekeeping.php".  This carriage return "is" present on Server #1, but Server #2 obviously doesn't like it. I am now going to stick my head out of my window and scream for not thinking that that could have be

Re: [PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Kevin Smith
Hi Curt, In that case, what on earth is going on.  This is the script which is on both servers:  However, I noticed that if I moved the following lines to the top of the script: header("Content-Type: image/jpeg"); header("Content-Transfer-Encoding: binary"); ..and hard-code the mime type, it

Re: [PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Curt Zirzow
On Wed, Nov 16, 2005 at 11:44:27PM +, Kevin Smith wrote: > HI Robert, > > I have checked both phpinfo() and php -i via the cli as follows and both > produce the expected results. Also phpinfo() shows the exact same > "Configure Command" data for both servers. > > Server #1 > [EMAIL PROTECT

Re: [PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Robert Cummings
On Wed, 2005-11-16 at 18:44, Kevin Smith wrote: > > Any other ideas? This is a very strange one. The headers aren't the same, specifically the second one doesn't send the type as image/jpeg. Here's the first one: - [EMAIL PROTECTED

Re: [PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Curt Zirzow
On Wed, Nov 16, 2005 at 11:44:27PM +, Kevin Smith wrote: > HI Robert, > > Server #1 (working) > http://www.limiteds.com/includes/image_load.php?image_id=8522&field_id=image_full_2 > Headers for this one: Content-Transfer-Encoding: binary Vary: Accept-Encoding,User-Agent Content-Encoding: gzip

Re: [PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Kevin Smith
HI Robert, I have checked both phpinfo() and php -i via the cli as follows and both produce the expected results.  Also phpinfo() shows the exact same "Configure Command" data for both servers. Server #1 [EMAIL PROTECTED] limiteds_v2]# php -i | grep ini Configuration File (php.ini) Path => /u

Re: [PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Robert Cummings
On Wed, 2005-11-16 at 18:01, Kevin Smith wrote: > > Has anyone come across this problem before? Also the httpd.conf and > php.ini files are identical in everyway, apart from IP addresses. Did you double check in the phpinfo() output for each server that the php.ini is being loaded for where you

[PHP] Loading Images from PHP broken on Redhat Enterprise

2005-11-16 Thread Kevin Smith
Hi All, Ok, before we start, I know this topic has been flogged to death on how to load images from a database using PHP. So, before we start, I have had this method of loading images in this way working for years. :) However, the problem I've come across has given me a major headache and can

RE: [PHP] Loading Images

2002-03-28 Thread Darren Gamble
Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Omland Christopher m [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 12:47 PM To: Chris Cc: [EMAIL PROTECTED] Subject: [PHP] Loading Images I don't have any code for

Re: [PHP] Loading Images

2002-03-28 Thread Rouvas Stathis
s the log file and parses out the values in the URL > string. But I guess it's the same basic principle. > > -Kevin > > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 5:24 PM > To: php > Subject: Re: [PHP] Loa

RE: [PHP] Loading Images

2002-03-28 Thread Kevin Stone
From: Justin French [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 5:24 PM To: php Subject: Re: [PHP] Loading Images U, is that correct? I thought (although never tried) that you could reference an image as or simular, in which case the headers and everything else CAN be sent in

Re: [PHP] Loading Images

2002-03-26 Thread Oliver Heinisch
At 26.03.2002 14:44, you wrote: >I wasn't so much concearned about security of users grabbin pics. I am >more trying to learn how these people load there menus dynamically and >pics dynamically. Do you have any links to pages or code that describe how >to make a link in the db to pics on my files

Re: [PHP] Loading Images

2002-03-26 Thread Justin French
is method. :) > > -Kevin > > -Original Message- > From: Omland Christopher m [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 2:45 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Loading Images > > I wasn't so much

RE: [PHP] Loading Images

2002-03-26 Thread Kevin Stone
ng about this method. :) -Kevin -Original Message- From: Omland Christopher m [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 2:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Loading Images I wasn't so much concearned about security of users grabbin pics.

Re: [PHP] Loading Images

2002-03-26 Thread Omland Christopher m
I wasn't so much concearned about security of users grabbin pics. I am more trying to learn how these people load there menus dynamically and pics dynamically. Do you have any links to pages or code that describe how to make a link in the db to pics on my filesystem? Thanks. -Chris On Tue, 26 Mar

Re: [PHP] Loading Images

2002-03-26 Thread heinisch
At 26.03.2002 12:47, you wrote: > >I don't have any code for this, but I'm hoping someone can point me in the >right direction. I want to load images or navigation menus dynamically. Is >it possible to build a database of images and then use php to display >them? Or something along these lines. I

[PHP] Loading Images

2002-03-26 Thread Omland Christopher m
I don't have any code for this, but I'm hoping someone can point me in the right direction. I want to load images or navigation menus dynamically. Is it possible to build a database of images and then use php to display them? Or something along these lines. I know this must be possible, becuase I