Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resolution detect and redirect

Status
Not open for further replies.

futilemonk

Technical User
Apr 26, 2006
20
US
Hello,

Forgive me for my ignorance, but

Does anyone know if it is possible to detect the screen resolution with php and then redirect to one of two options?

-thanks
 
Since PHP runs on the server, you won't be able to detect the client's screen resolution no.

You could use Javascript to detect it.

javascript forum forum216

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
You're welcome.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top