PHP Reports

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
biach
Forum Newbie
Posts: 1
Joined: Wed Jun 09, 2004 1:40 am

PHP Reports

Post by biach »

how do you take out the urls on the header and footer when u print reports on the web using php???
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I have no idea what you are talking about. Could you give an example?
User avatar
scorphus
Forum Regular
Posts: 589
Joined: Fri May 09, 2003 11:53 pm
Location: Belo Horizonte, Brazil
Contact:

Post by scorphus »

If I understand you, it has nothing to do with PHP but with page/printer setup on the user's browser.

You could use some ActiveX control like ScriptX http://www.meadroid.com/scriptx/index.asp and manage header/footer information. But ActivesuX only works on IE and maybe with some lower security setup in this case, I'm not sure.

A good idea is to use FPDF http://www.fpdf.org/ and convert the report page to PDF using PHP. The user then prints the page using some PDF reader application like AcroReader (which is available to many platforms with plugins to the most common browsers) or GhostViewer.

Scorphus.
Post Reply