Oct 31

Getting screen resolution in PHP is done through javascript cookie.
How it works :
1.Javascript gets the user resolution and stores in the cookie
2.We can use PHP to read that cookie.

The following code snippet gives the resolution of a browser using php and javascript. However you can also modify the code to get height and width seperately (screen.width and screen.height are the parameters for width and height respectively).



PHP code for getting screen resolution


if(isset($HTTP_COOKIE_VARS["users_resolution"]))
$screen_res = $HTTP_COOKIE_VARS["users_resolution"];
else //no cookie set in Javascript
{
?>

}
?>


echo "Your Screen resolution is set at ". $screen_res;

?>

You can also get width or height alone

Code by www.dumpsquestions.com/webdeveloper


Oct 30

Google Page Rank is prime factor in terms of seo, so SEO consultants are always eager to see when Google updates the page rank simple called PR. And it has happened today.

We have been waiting for google to update its PR for very long time, since the Google had last PR update on May 26th. Usually the PR update runs for 3 or 4 days, and the PR update has started today.

And we are too happy to say that, our blog has moved from PR – 0 to PR – 1.

Oct 23

Content is the heart of the SEO.

1. Write daily, a post a day keeps your word press healthy.

Just like, “A apple a day, keeps doctor away”

“A post a day, keeps google or other search engine in”

Continue reading »

Oct 23

Two days before, another security hole in twitter came out. “How to read protected tweets” – It was the security hole and people were using google to read the protected tweets. Funny! How to read the protected tweets of a particular user. Just follow this trict

1. Go to google.com

Continue reading »

Oct 21

Microsoft will be releasing Windows 7 officially on Oct 22 2009. The operating system was supposed to launch by the year 2010, but the reviews on Windows 7 RC1 was in favour of microsoft. Microsoft has sent signature edition to some people which is same as windows 7 final release. And we were lucky to get Windows 7 before the official release !

Windows 7

Windows 7

Is the windows 7 worth all its hype ? Yes sure. The previous release of microsoft windows vista was not too good because it was crashing often and it was very slow. Windows big plus

1. Extremely Fast (I should say faster than XP)

2. Great Indexing service (Viewing the photos folder for second time? it will be loaded immediately :) )

3. New Taskbar (My taskbar was never full)

4. Great Driver Support, no seperate driver was needed in my case (One of the big problems VISTA had)

Continue reading »



www.dumpsquestions.com © 2009