NYCPHP Meetup

NYPHP.org

[nycphp-talk] Anyone ever have any luck with get_browser?

pswebcode, nyc psaw at pswebcode.com
Fri May 30 13:36:57 EDT 2003


 <noscript>
  <meta http-equiv="refresh"
content="1;url=http://www.domain.com/nojspage">
</noscript> 

Client stays on this page, if js enabled. Client does meta, if js not
enabled.

-----Original Message-----
From: soazine at pop.erols.com [mailto:soazine at pop.mail.rcn.net] 
Sent: Friday, May 30, 2003 1:28 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Anyone ever have any luck with get_browser?




if($browser->javascript == 1)
{
	include ("javascript_enabled_page");
}
else
	include("no_java_script");
}
Ian


Tried that, but $browser->javascript comes out to be null on my browser
which is javascript-enabled.

Phil







--------------------------------------------------------------------
mail2web - Check your email from the web at http://mail2web.com/ .





--- Unsubscribe at http://nyphp.org/list/ ---






More information about the talk mailing list