Page 1 of 1
PHP Reports
Posted: Wed Jun 09, 2004 1:40 am
by biach
how do you take out the urls on the header and footer when u print reports on the web using php???
Posted: Wed Jun 09, 2004 2:19 am
by feyd
I have no idea what you are talking about. Could you give an example?
Posted: Wed Jun 09, 2004 2:29 am
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.