By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,051 Members | 1,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,051 IT Pros & Developers. It's quick & easy.

PHP + PDF + IE

P: n/a
Hi,
i've a little problem.

I'm working with FPDF 1.51.

The ouptput of my php script (a pdf file) in IE is a blank page and click on
with right
on 'view html', IE tells me: 'the XML source code is not available',
but the same script on Mozila and Opera it's OK, open Adobe inside the
window...

my code:
...
Header('Content-Type: application/pdf');
Header('Content-Length: '.strlen($this->buffer));
Header('Content-disposition: filename; filename=doc.pdf');
...

how can i resolve this problem?
i think there's a bug in IE (v.6 on XP professional - with IIS/Apache)

thank you (sorry for my english!)

Simone

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Simone" <si*****************@libero.it> wrote in message news:<bm************@ID-209510.news.uni-berlin.de>...
Hi,
i've a little problem.

I'm working with FPDF 1.51.

The ouptput of my php script (a pdf file) in IE is a blank page and click on
with right
on 'view html', IE tells me: 'the XML source code is not available',
but the same script on Mozila and Opera it's OK, open Adobe inside the
window...

my code:
...
Header('Content-Type: application/pdf');
Header('Content-Length: '.strlen($this->buffer));
Header('Content-disposition: filename; filename=doc.pdf');
...

how can i resolve this problem?
i think there's a bug in IE (v.6 on XP professional - with IIS/Apache)

http://in.php.net/header

Always manual and the notes are your close friends.

---
"If there is a God, he must be a sadist!"
http://RajeshAnbiah.itgo.com - The simple site!
Email: rrjanbiah-at-Y!com
Jul 17 '05 #2

P: n/a

"R. Rajesh Jeba Anbiah" <ng**********@rediffmail.com> ha scritto nel
messaggio news:ab**************************@posting.google.c om...
"Simone" <si*****************@libero.it> wrote in message

news:<bm************@ID-209510.news.uni-berlin.de>...
Hi,
i've a little problem.

I'm working with FPDF 1.51.

The ouptput of my php script (a pdf file) in IE is a blank page and click on with right
on 'view html', IE tells me: 'the XML source code is not available',
but the same script on Mozila and Opera it's OK, open Adobe inside the
window...

my code:
...
Header('Content-Type: application/pdf');
Header('Content-Length: '.strlen($this->buffer));
Header('Content-disposition: filename; filename=doc.pdf');
...

how can i resolve this problem?
i think there's a bug in IE (v.6 on XP professional - with IIS/Apache)

http://in.php.net/header

Always manual and the notes are your close friends.

thnak you!

Simone
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.