Tuesday, October 28, 2008

Completely disable any browser caching

<?php 

function ae_nocache()
{
    
header("Expires: Tue, 03 Jul 2001 06:00:00 GMT");
    
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
    
header("Cache-Control: post-check=0, pre-check=0", false);
    
header("Pragma: no-cache");
}

<?php 

ae_nocache
();
// disable caching

// output some highly dynamic information
// time with microseconds
list($usec, $sec) = explode(" ", microtime());
echo
$sec.'.'.$usec;

?>

--
ఇట్లు మీ,
చంద్రశేఖర్.

Scour needs your help

Hey there,

Not too long ago BollabathinChandrashkehar sent you an invite to join the
Scour search community and your invite is still open!

The Scour search engine is shaped by a community of users just like you,
and your contributions are what make it a success!

Why use Scour?
1. Get Yahoo, Google and MSN results in one search
2. Vote on result relevancy
3. Read user comments
4. Get paid for searching!

Create your profile at http://scour.com/invite/chandra4u/r/ and enjoy
searching the web through your favorite search engines. With time, you'll
get paid like these loyal users: http://www.scour.com/leaderboard page.

Come and be part of the largest Social Search community and help make the
results better!

See you soon,
The Scour Team
www.scour.com

This message was sent to you as a friend referral to join scour.com, please
feel free to review our http://scour.com/privacy page and our
http://scour.com/communityguidelines/antispam page.
If you prefer not to receive invitations from ANY scour members,
please click here - http://www.scour.com/unsub/e/Y2hhbmRyYTE3MDYuZGV2ZWxvcGVyQGJsb2dnZXIuY29t
-OR-

Write to us at:
Scour, Inc., 15303 Ventura Blvd. Suite 860, Sherman Oaks, CA 91403, USA.

campaignid: scour200810280002