Re: [PHP] script won't work on other server

2005-12-02 Thread Kristen G. Thorson

Peppy wrote:


This info is for the server where the script does not work:

Apache/1.3.33 (Unix) PHP/4.3.10 
FreeBSD cliffb55.iserver.net 4.7-RELEASE-p28 FreeBSD 4.7-RELEASE-p28 #42: Tu i386 


This info is for the server where the script works:

Apache/2.0.40 (Red Hat Linux) PHP Version 4.3.2
Linux pl1.qcinet.net 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 


Thanks for your help.

 Original Message 
 


Date: Wednesday, November 30, 2005 02:15:47 PM -0600
From: Peppy <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Subject: [PHP] script won't work on other server

I have a small script that I am testing out on two different
servers.  It uses the $_SERVER['HTTP_USER_AGENT'] to detect the
browser and serve up a style sheet dependent on the results.
(Please don't comment on its usefulness, it's just an example.)

On one server, I can get this script to run correctly in all
browsers that I test.  On another server, it will not run correctly
in Netscape (testing for the word Gecko, but have used Netscape
also).   Any help would be appreciated.

Link to script:

http://www.asrm.org/class/php/angelia.php

In case it's needed, link to file with phpinfo():

http://www.asrm.org/test/test.php

   




Using Netscape to view this page:

http://www.asrm.org/class/php/angelia.php

My stylesheet link is:




Looks like it works for me.


kgt

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Fwd: [PHP] script won't work on other server

2005-12-01 Thread Unknown Unknown
-- Forwarded message --
From: Unknown Unknown <[EMAIL PROTECTED]>
Date: Dec 1, 2005 8:26 PM
Subject: Re: [PHP] script won't work on other server
To: Peppy <[EMAIL PROTECTED]>

execute this code:
print_r($_SERVER);
on a page, what is the result?


 On 12/1/05, Peppy <[EMAIL PROTECTED]> wrote:
>
> This info is for the server where the script does not work:
>
> Apache/1.3.33 (Unix) PHP/4.3.10
> FreeBSD cliffb55.iserver.net 4.7-RELEASE-p28 FreeBSD 4.7-RELEASE-p28 #42:
> Tu i386
>
> This info is for the server where the script works:
>
> Apache/2.0.40 (Red Hat Linux) PHP Version 4.3.2
> Linux pl1.qcinet.net 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686
>
> Thanks for your help.
>
>
> - Original Message - From: "Unknown Unknown" <[EMAIL PROTECTED]
> >
> To: "Peppy" <[EMAIL PROTECTED] >
>  Cc: 
> Sent: Thursday, December 01, 2005 4:08 PM
> Subject: Re: [PHP] script won't work on other server
>
> What are the server types like Apache IIS or something else?
> i am asking because the webserver might not give the PHP script all the
> data
> from the browser like browser name and stuff...
>
>
> On 11/30/05, Peppy < [EMAIL PROTECTED]> wrote:
> >
> > Short tags are on on both servers.
> >
> > ----- Original Message -
> > From: < [EMAIL PROTECTED]>
> > To: "Peppy" < [EMAIL PROTECTED]>
> > Sent: Wednesday, November 30, 2005 2:23 PM
> > Subject: Re: [PHP] script won't work on other server
> >
> >
> > > you're using the short-tag form:
> > >
> > >> >
> > > rather than:
> > >
> > >> >
> > > this may not be supported on both machines.
> > >
> > > haven't looked at other aspects of the script.
> > >
> > >
> > >  Original Message 
> > > > Date: Wednesday, November 30, 2005 02:15:47 PM -0600
> > > > From: Peppy < [EMAIL PROTECTED]>
> > > > To: php-general@lists.php.net
> > > > Subject: [PHP] script won't work on other server
> > > >
> > > > I have a small script that I am testing out on two different
> > > > servers.  It uses the $_SERVER['HTTP_USER_AGENT'] to detect the
> > > > browser and serve up a style sheet dependent on the results.
> > > > (Please don't comment on its usefulness, it's just an example.)
> > > >
> > > > On one server, I can get this script to run correctly in all
> > > > browsers that I test.  On another server, it will not run correctly
> > > > in Netscape (testing for the word Gecko, but have used Netscape
> > > > also).   Any help would be appreciated.
> > > >
> > > > Link to script:
> > > >
> > > > http://www.asrm.org/class/php/angelia.php
> > > >
> > > > In case it's needed, link to file with phpinfo():
> > > >
> > > > http://www.asrm.org/test/test.php
> > > >
> > > >
> > >
> > > -- End Original Message --
> > >
> > >
> >
> > --
> > PHP General Mailing List ( http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!
>



--
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!


--
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!


Re: [PHP] script won't work on other server

2005-12-01 Thread Peppy
This info is for the server where the script does not work:

Apache/1.3.33 (Unix) PHP/4.3.10 
FreeBSD cliffb55.iserver.net 4.7-RELEASE-p28 FreeBSD 4.7-RELEASE-p28 #42: Tu 
i386 

This info is for the server where the script works:

Apache/2.0.40 (Red Hat Linux) PHP Version 4.3.2
Linux pl1.qcinet.net 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 

Thanks for your help.


- Original Message - 
From: "Unknown Unknown" <[EMAIL PROTECTED]>
To: "Peppy" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, December 01, 2005 4:08 PM
Subject: Re: [PHP] script won't work on other server


What are the server types like Apache IIS or something else?
i am asking because the webserver might not give the PHP script all the data
from the browser like browser name and stuff...


On 11/30/05, Peppy <[EMAIL PROTECTED]> wrote:
>
> Short tags are on on both servers.
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "Peppy" <[EMAIL PROTECTED]>
> Sent: Wednesday, November 30, 2005 2:23 PM
> Subject: Re: [PHP] script won't work on other server
>
>
> > you're using the short-tag form:
> >
> >>
> > rather than:
> >
> >>
> > this may not be supported on both machines.
> >
> > haven't looked at other aspects of the script.
> >
> >
> > -------- Original Message ----
> > > Date: Wednesday, November 30, 2005 02:15:47 PM -0600
> > > From: Peppy <[EMAIL PROTECTED]>
> > > To: php-general@lists.php.net
> > > Subject: [PHP] script won't work on other server
> > >
> > > I have a small script that I am testing out on two different
> > > servers.  It uses the $_SERVER['HTTP_USER_AGENT'] to detect the
> > > browser and serve up a style sheet dependent on the results.
> > > (Please don't comment on its usefulness, it's just an example.)
> > >
> > > On one server, I can get this script to run correctly in all
> > > browsers that I test.  On another server, it will not run correctly
> > > in Netscape (testing for the word Gecko, but have used Netscape
> > > also).   Any help would be appreciated.
> > >
> > > Link to script:
> > >
> > > http://www.asrm.org/class/php/angelia.php
> > >
> > > In case it's needed, link to file with phpinfo():
> > >
> > > http://www.asrm.org/test/test.php
> > >
> > >
> >
> > -- End Original Message --
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!



Re: [PHP] script won't work on other server

2005-12-01 Thread Unknown Unknown
What are the server types like Apache IIS or something else?
i am asking because the webserver might not give the PHP script all the data
from the browser like browser name and stuff...


On 11/30/05, Peppy <[EMAIL PROTECTED]> wrote:
>
> Short tags are on on both servers.
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "Peppy" <[EMAIL PROTECTED]>
> Sent: Wednesday, November 30, 2005 2:23 PM
> Subject: Re: [PHP] script won't work on other server
>
>
> > you're using the short-tag form:
> >
> >>
> > rather than:
> >
> >>
> > this may not be supported on both machines.
> >
> > haven't looked at other aspects of the script.
> >
> >
> >  Original Message ----
> > > Date: Wednesday, November 30, 2005 02:15:47 PM -0600
> > > From: Peppy <[EMAIL PROTECTED]>
> > > To: php-general@lists.php.net
> > > Subject: [PHP] script won't work on other server
> > >
> > > I have a small script that I am testing out on two different
> > > servers.  It uses the $_SERVER['HTTP_USER_AGENT'] to detect the
> > > browser and serve up a style sheet dependent on the results.
> > > (Please don't comment on its usefulness, it's just an example.)
> > >
> > > On one server, I can get this script to run correctly in all
> > > browsers that I test.  On another server, it will not run correctly
> > > in Netscape (testing for the word Gecko, but have used Netscape
> > > also).   Any help would be appreciated.
> > >
> > > Link to script:
> > >
> > > http://www.asrm.org/class/php/angelia.php
> > >
> > > In case it's needed, link to file with phpinfo():
> > >
> > > http://www.asrm.org/test/test.php
> > >
> > >
> >
> > -- End Original Message --
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!


Re: [PHP] script won't work on other server

2005-11-30 Thread Peppy
Short tags are on on both servers.

- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Peppy" <[EMAIL PROTECTED]>
Sent: Wednesday, November 30, 2005 2:23 PM
Subject: Re: [PHP] script won't work on other server


> you're using the short-tag form:
> 
>
> rather than:
> 
>
> this may not be supported on both machines.
> 
> haven't looked at other aspects of the script.
> 
> 
>  Original Message 
> > Date: Wednesday, November 30, 2005 02:15:47 PM -0600
> > From: Peppy <[EMAIL PROTECTED]>
> > To: php-general@lists.php.net
> > Subject: [PHP] script won't work on other server
> > 
> > I have a small script that I am testing out on two different
> > servers.  It uses the $_SERVER['HTTP_USER_AGENT'] to detect the
> > browser and serve up a style sheet dependent on the results.
> > (Please don't comment on its usefulness, it's just an example.)
> > 
> > On one server, I can get this script to run correctly in all
> > browsers that I test.  On another server, it will not run correctly
> > in Netscape (testing for the word Gecko, but have used Netscape
> > also).   Any help would be appreciated.
> > 
> > Link to script:
> > 
> > http://www.asrm.org/class/php/angelia.php
> > 
> > In case it's needed, link to file with phpinfo():
> > 
> > http://www.asrm.org/test/test.php
> > 
> > 
> 
> -- End Original Message --
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php