Is "pdf_new" a built-in function?
Moderator: General Moderators
Is "pdf_new" a built-in function?
Hi all,
1. "pdf_new" is used to create pdf document.
Is "pdf_new" a built-in functions of php 4 or 5 (ie. every linux server must have this function?)?
2. Could we create a complex report with multiple bands with pdf_new?
3. Does "pdf_new" relate to fpdf? What are the difference?
Thanks in advance.
1. "pdf_new" is used to create pdf document.
Is "pdf_new" a built-in functions of php 4 or 5 (ie. every linux server must have this function?)?
2. Could we create a complex report with multiple bands with pdf_new?
3. Does "pdf_new" relate to fpdf? What are the difference?
Thanks in advance.
1. pdf_new is a function of the pdf module. It can either be built-in, loaded as shared object or not available at all.
2. probably
3. fpdf is another library which you can finde here: http://fpdf.org/
2. probably
3. fpdf is another library which you can finde here: http://fpdf.org/
Hi volka,
Thank you for your reply.
1. If pdf_new is not built-in, how to install it on linux? Could we do it ourself or need the permission of web hosting companies?
2. It seems that using pdf_new, it is a process of trial and error and not wysiwyg tool.
The process of creating this pdf seems to go back to the day of generating text report when there is no wysiwyg tool.
Do people usually pdf_new or fpdf, instead of using some kind of pdf report generating tool (eg.Navicat ) ?
3. Is fpdf more easier or convenient than pdf_new?
Thanks in advance
Thank you for your reply.
1. If pdf_new is not built-in, how to install it on linux? Could we do it ourself or need the permission of web hosting companies?
2. It seems that using pdf_new, it is a process of trial and error and not wysiwyg tool.
The process of creating this pdf seems to go back to the day of generating text report when there is no wysiwyg tool.
Do people usually pdf_new or fpdf, instead of using some kind of pdf report generating tool (eg.Navicat ) ?
3. Is fpdf more easier or convenient than pdf_new?
Thanks in advance
I suggest starting with fpdf. Since it's pure php code and
you don't need the help of the provider to install and use it.http://www.fpdf.org/ wrote:FPDF requires no extension (except zlib to activate compression) and works with PHP4 and PHP5.
@feyd: Not yet. I just gather info. of php and pdf. My boss is still considering the cost of the application. I have not started to learn php, but gather relevant info.
@volka: As you said I don't need the help of the provider to install and use it, if the users use "view source code" option of a browser, could they see the pdf code generation on screen?
It does not matter because users with different rights on mysql and even they see the source php+pdf code, it will not cause any damage to the data of database. Am I right?
Thanks in advance.

@volka: As you said I don't need the help of the provider to install and use it, if the users use "view source code" option of a browser, could they see the pdf code generation on screen?
It does not matter because users with different rights on mysql and even they see the source php+pdf code, it will not cause any damage to the data of database. Am I right?
Thanks in advance.
Last edited by sammyphp on Mon Jul 09, 2007 10:09 pm, edited 1 time in total.