johnsmith153
May 8th 2008, 11:05 am
I am checking on my site:
(1) if javascript is on/off
(2) screen resolution
And then redirecting to a basic version of the site. I can do with js no problem.
Can any of this be done with PHP as opposed to javascript?
I dont want to use any silly methods posting blank forms etc.
I suppose to test if js is on/off using server side must be pretty difficult as I want to check on the server before even goes to browser, but surely screen res can be looked at as this is nothing to do with the browser.
Not ideal at moment that I am using javascript to check for screen res when js may not even be on.
(1) if javascript is on/off
(2) screen resolution
And then redirecting to a basic version of the site. I can do with js no problem.
Can any of this be done with PHP as opposed to javascript?
I dont want to use any silly methods posting blank forms etc.
I suppose to test if js is on/off using server side must be pretty difficult as I want to check on the server before even goes to browser, but surely screen res can be looked at as this is nothing to do with the browser.
Not ideal at moment that I am using javascript to check for screen res when js may not even be on.