RE: [PHP] resolution
I think this was asked recently by someone else You need to use javascript/vbscript to grab the dimensions then pass it to php php is server side and doesn't know anything about the client unless it's told about it HTH Martin -Original Message- From: Doron [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 7:02 AM To: [EMAIL PROTECTED] Subject: [PHP] resolution is it possible to check the visitors's resolution with php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] resolution
JavaScript does something in this direction - you can use a little JavaScript trick to get it - check some JS docs and mail me if interested and unable to make it. What you basically need to do is use a link such as Continue or, more transparent, create an intermediary page which only contains some JS which takes the user to the "real" page. The real page would receive the screen resolution either from function bla() in the first example of from the global code in the second. I believe screen was the object you had to look for in JS (as in screen.width and screen.height). HTH Bogdan reapern66 wrote: >I was wondering if theres a server side variable that i can find the web brower >resolution. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Resolution
Hello Kyle, Tuesday, July 24, 2001, 1:45:00 AM, you wrote: KS> is there a code to show a users screen resolution and/or make a webpage go to a certain page of the site depending on the users screen resolution? KS> -legokiller666- KS> http://www.StupeedStudios.f2s.com KS> New address new site KS> ICQ: 115852509 KS> MSN: [EMAIL PROTECTED] KS> AIM: legokiller666 Use a javascript code screen.width(); screen.height(); -- Best regards, Danielmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Resolution
Hi Kyle, I use the following: . . . Cheers Rudolf -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: 24 July 2001 01:45 To: [EMAIL PROTECTED] Subject: [PHP] Resolution is there a code to show a users screen resolution and/or make a webpage go to a certain page of the site depending on the users screen resolution? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Resolution
If you want to see what you can get from the client, serverside. Please run the following: Put that into some php file, and it will tell you what PHP will allow you to get be default. I feel that the JS answer is about as correct as your going to get. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] > -Original Message- > From: Tyler Longren [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 23, 2001 10:54 AM > To: Kyle Smith; [EMAIL PROTECTED] > Subject: Re: [PHP] Resolution > > > I don't believe you can get screen resolution with PHP. > You'd need to use > something client side, such as Javascript. > > Tyler > > - Original Message - > From: "Kyle Smith" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, July 23, 2001 6:45 PM > Subject: [PHP] Resolution > > > is there a code to show a users screen resolution and/or make > a webpage go > to a certain page of the site depending on the users screen > resolution? > > > -legokiller666- > http://www.StupeedStudios.f2s.com > New address new site > > ICQ: 115852509 > MSN: [EMAIL PROTECTED] > AIM: legokiller666 > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Resolution
I don't believe you can get screen resolution with PHP. You'd need to use something client side, such as Javascript. Tyler - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 6:45 PM Subject: [PHP] Resolution is there a code to show a users screen resolution and/or make a webpage go to a certain page of the site depending on the users screen resolution? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]