RE: [PHP-WIN] Redirect
| From: | Asendorf, John | Date: | Mon, 28 Aug 2000 12:28:31 +0000 |
| Subject: | RE: [PHP-WIN] Redirect | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-2209@lists.php.net to get a copy of this message | ||
Dear Karl:
You *can* do this for the browser. I don't know about screen resolution.
One of the pre-defined variables is HTTP_USER_AGENT which is probably what
your Javascript is looking for anyway...
You can find info on the pre-defined values at
http://www.php.net/manual/language.variables.predefined.php
there is also the function: get browser()
There is some great info on the page above, including checking to see if the
script even GOT the variable before trying to process it...
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer - http://www.lcounty.com
Licking County, Ohio, USA
740-349-3631
> -----Original Message-----
> From: Karl [mailto:info@zenton.co.uk]
> Sent: Sunday, August 27, 2000 11:13 AM
> To: PHP
> Subject: [PHP-WIN] Redirect
>
>
> Hi,
>
> I currently use Javascript to perform browser and screen resolution
> checks when a visitor enters a site. Is there a way to
> implement this as
> a PHP server side include script. Thus I can avoid the problerms that
> arise when non Javascript browsers or those browsers with
> Java disabled
> view a website?
>
> Much obliged for any help or a url pointing me to information
> regarding
> this.
>
> Karl
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>