/**************************************************************************************
Originally from http://www.phpbuddy.com/article.php?id=8
Author: Ranjit Kumar (Cheif Editor phpbuddy.com)
Modified by: Ying Zhang (Dodo) http://pure-essence.net
Two main modifications:
1. To check currently saved screen resolution cookie
2. To allow inclusion by other php files
In order to use this file in another php file, use:
$callget_res_page_name = $REQUEST_URI;
$GLOBALS[callget_res_page_name] = $callget_res_page_name;
include("get_resolution.php");
echo $screen_width." is your screen width and ".$screen_height." is your screen height.";
*****************************************************************************************/
?>
if(isset($HTTP_COOKIE_VARS["users_res"])) {
$screen_res = $HTTP_COOKIE_VARS["users_res"];
$screen_res_tmp = explode("x", $screen_res);
$screen_width = $screen_res_tmp[0];
$screen_height = $screen_res_tmp[1];
?>
}
else //means cookie is not found set it using Javascript
{
?>
}
?>
<<—
September 2023
—>>
Monday |
Tuesday |
Wednesday |
Thursday |
Friday |
Saturday |
Sunday |
|
|
|
|
|
1
|
2
|
3
|
« |
4
|
5
|
6
|
7
|
8
|
9
|
10
|
« |
11
|
12
|
13
|
14
|
15
|
16
|
17
|
« |
18
|
19
|
20
|
21
|
22
|
23
|
24
|
« |
25
|
26
|
27
|
28
|
29
|
30
|
|
« |
Go To
|