Problems Executing fpdf in IE

Sometimes when we using IE to display the pdf for FPDF.
It can't generate the pdf, or It close it suddenly, or it just display with

Internet Explorer Cannot Download Error Message

but when we view in firefox it display nicely, It is something to do with the cache.

In the php file we can add this before the session_start(),

if(ereg( "MSIE", $_SERVER['HTTP_USER_AGENT'])){
session_cache_limiter('private');
}


OR ADD this..

if(ereg( "MSIE", $_SERVER['HTTP_USER_AGENT'])){
header('Cache-Control: maxage=3600');
header('Pragma: public');
}


If you are looking to send files such as PDFs or Excel spreadsheets or Microsoft Office documents and are having issues with IE7, IE6, or IE5.5 not being able to open/download the files over an SSL connection, but still need not allow caching,
then set the maxage=1
Granted, this will cache your file for one second, but it's as close to an un-cached download as you can get when using IE over SSL.

Original post from:
http://in2.php.net/manual/en/function.header.php#83219

add meta tags,keywords for a specific posts on blogger


1. Switch to the Edit HTML tab of your template and find this line:

b:include data='blog' name='all-head-content'/

2. Add this code just below that line:

<b:if cond='data:blog.url == "http://YOUR-BLOG-URL.com/"'>
<meta content='DESCRIPTION' name='description'/>
<meta content='KEYWORDS' name='keywords'/>
</b:if>


This was done to add META Tags to the main page of the blog.

3. Now add this code just below the code you add just now:

<b:if cond='data:blog.url == "http://YOUR-BLOG-URL.com/2009/03/xxx.html"'>
<meta content='Type you post description here.' name='description'/>
<meta content='Type, the, post, keywords, here' name='keywords'/>
</b:if>


Replace http://YOUR-BLOG-URL.com/2009/03/xxx.html with the
URL of the specific post you want to change the META Tags of.

4. Repeat Step 3 for as many blog posts you want to have unique META Tags for.


Hello Guys..

Hi,

Welcome to my blog..
I hope to learn new things and happy to meet some new friends in here.. No matter you have the same interest with me or not.. Nice to meet you all.. haha.. If got some news, discussion,no matter in programming, travel, movies welcome to share it out here..

regards,
chaiwei