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