Re: script won't work on other server
| From: | Unknown Unknown | Date: | Thu, 01 Dec 2005 22:08:24 +0000 |
| Subject: | Re: script won't work on other server | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226739@lists.php.net to get a copy of this message | ||
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 <peppy@foxedge.net> wrote:
>
> Short tags are on on both servers.
>
> ----- Original Message -----
> From: <replies-lists-php@listmail.innovate.net>
> To: "Peppy" <peppy@foxedge.net>
> 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:
> >
> > <?php
> >
> > 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 <peppy@foxedge.net>
> > > 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!