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
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
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
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
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
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
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
Good day,
Yep, this is possible all right. I use this to display my rrdtool images.
Just have the php program as the target for the image, and then supply the
right header. For a gif image:
header("Cache-control: private, no-cache");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Past d
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
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
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
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
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.
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
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
15 matches
Mail list logo