Jump to content

Retrieving Browser Settings while JS is disabled?


Makari

Recommended Posts

Hello,

I'm looking for a way to retrieve information about a client's browser.

Basically, I CAN get the information that I need by using JavaScript, but that is an undesirable option as JavaScript can be disabled.

The only portion that I REALLY NEED to know is the browser window's viewable dimensions.

What I am trying to accomplish is to determine the viewer's window settings so that I may layout the page accordingly so that it all fits within the window (barring certain sizes that would be TOO small to be readable).

I'm (obviously) using a database to store the data to be displayed in XML format which is then queried for and returned via php. My goal is to make the ENTIRE site cross-platform and W3C compliant while not allowing options for the user to 'break' the page (such as disabling a necessary display script, due to paranoia).

If anyone knows a way to do this using PHP, or any other method, feel free to help out.

Thanks,

Makari
Link to comment
Share on other sites

php runs on the server, not the client.

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]and I believe not much other than asp or something similiar[/quote]
Asp also runs on the server.
Link to comment
Share on other sites

Confound it all. I was hoping there was a server-side solution that I could implement. After all, the client must request the page from the server...there should be some way to get basic settings (nothing jeopardizing secure information) from the client to a script without utilizing a scripting system that can be just be 'turned off' by the user.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.