LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2004, 06:27 PM   #1
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
PDF appearing as symbols


Hi all :-)

I've just rebuilt my Linux box with FC2 and i've run into something really weird...
I've built a web server with Apache 2.0.52 and PHP 5.0.2 - And using FPDF to create PDF files dynamically...

However, when I create my PDF and try to view it in my browser (tried Firefox and Mozilla) it comes up with a few weird symbols... (I won't post them just in case it breaks LQ's DB).

Has anyone got any ideas why this might be happening? I tried it on a different webserver and it worked fine.
 
Old 12-12-2004, 06:36 PM   #2
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Original Poster
Rep: Reputation: 30
Hmmmm k I added this to my PHP script and it opened it fine (don't have to do this on the other webserver though)

header('Content-Type: application/pdf');

I had the same setup beforehand and it worked fine, don't understand whats happening.
Any help would be much appreciated
 
Old 12-12-2004, 07:53 PM   #3
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Original Poster
Rep: Reputation: 30
K i've recompiled PHP with no XML support and it worked fine
But now I won't be able to play with XML... Bugga lol
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI Login not appearing nikhilhandigol SUSE / openSUSE 4 10-26-2005 09:36 AM
Foxit PDF Reader 1.3: A Nice PDF Viewer Cinematography Linux - Software 6 05-03-2005 04:36 PM
How do I unpack pdf.pdf files corbis_demon Linux - General 5 10-29-2004 09:12 PM
Gui Not Appearing Correctly redknight Fedora 0 06-23-2004 07:09 PM
Print Jobs not appearing HadesThunder Linux - Software 0 04-22-2004 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration