Re: java script detection at the time of site load

2012-01-20 Thread Miles J
Always gotta be a smart ass. Its *not* possible to detect JS with PHP outright. Detecting if a cookie exists isn't really detecting it, it's a workaround. On Jan 20, 12:52 am, AD7six wrote: > On Jan 19, 7:51 pm, Miles J wrote: > > > Right but I would rather just set a cookie via JS and check it

Re: java script detection at the time of site load

2012-01-20 Thread vaibhav pathak
is anyone has idea about how Google is doing that? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send em

Re: java script detection at the time of site load

2012-01-20 Thread vaibhav pathak
yes you are but i want to do it for just my knowledge enhancement. Thanks for reply. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To u

Re: java script detection at the time of site load

2012-01-20 Thread AD7six
On Jan 19, 7:51 pm, Miles J wrote: > Right but I would rather just set a cookie via JS and check it on the > PHP side. Same effect. As you stated previously: Clearly that's impossible -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakeP

Re: java script detection at the time of site load

2012-01-19 Thread Miles J
Right but I would rather just set a cookie via JS and check it on the PHP side. Same effect. But now a days, you shouldn't have to worry about the user not having JS enabled. On Jan 19, 12:57 am, AD7six wrote: > On Jan 18, 10:04 pm, Miles J wrote: > > > You can't detect if JS is enabled via PHP

Re: java script detection at the time of site load

2012-01-19 Thread AD7six
On Jan 18, 10:04 pm, Miles J wrote: > You can't detect if JS is enabled via PHP. You can, however, do something ball-achingly simple like this: (function() { var img = document.createElement("img"); img.setAttribute("src", "/I/haz/js.gif"); document.body.appendChild(img); }());

Re: java script detection at the time of site load

2012-01-18 Thread Miles J
You can't detect if JS is enabled via PHP. On Jan 18, 7:28 am, bujanga wrote: > https://www.google.com/search?q=javascript+version+check > > On Wed, Jan 18, 2012 at 6:52 AM, vaibhav pathak > > > > > > > > wrote: > > Please any one can tell me how i can detect that java script of > > browser is o

Re: java script detection at the time of site load

2012-01-18 Thread bujanga
https://www.google.com/search?q=javascript+version+check On Wed, Jan 18, 2012 at 6:52 AM, vaibhav pathak wrote: > Please any one can tell me how i can detect that java script of > browser is on or not in cake cake php? > > Thanks > > -- > Our newest site for the community: CakePHP Video Tutorial

java script detection at the time of site load

2012-01-18 Thread vaibhav pathak
Please any one can tell me how i can detect that java script of browser is on or not in cake cake php? Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP