How to convert php files into pdf, onfly?
How to convert php files into pdf, onfly?
am 16.08.2007 13:02:36 von chandoo
Is there any chance of converting, php files into pdf dynamically,i
need it urgently,can any body help me!
With snippets of code or by url or by sending files?
thank u with Regards.............
Re: How to convert php files into pdf, onfly?
am 16.08.2007 13:44:07 von Ulf Kadner
chandoo wrote:
> Is there any chance of converting, php files into pdf dynamically
Can you explain please somewhat more exactly? Normally there is no
difference between showing PHP-Code or text within a pdf.
May you are searching for FPDF. => http://www.fpdf.org/
It comes with a lot of examples.
Ulf
--
_,
_(_p> Ulf [Kado] Kadner
\<_)
Re: How to convert php files into pdf, onfly?
am 17.08.2007 00:07:37 von nc
On Aug 16, 4:02 am, chandoo wrote:
>
> Is there any chance of converting, php files into pdf
> dynamically,i need it urgently,can any body help me!
Check out dompdf:
http://www.digitaljunkies.ca/dompdf/
Cheers,
NC
Re: How to convert php files into pdf, onfly?
am 17.08.2007 10:54:01 von chandoo
On Aug 17, 3:07 am, NC wrote:
> On Aug 16, 4:02 am, chandoo wrote:
>
>
>
> > Is there any chance of converting, php files into pdf
> > dynamically,i need it urgently,can any body help me!
>
> Check out dompdf:
>
> http://www.digitaljunkies.ca/dompdf/
>
> Cheers,
> NC
Thank u
but...........!
apart of it do u know any other,i did it but it had some probs with
converting the source code..
Re: How to convert php files into pdf, onfly?
am 03.09.2007 15:19:07 von Pragnesh
On Aug 16, 7:02 am, chandoo wrote:
> Is there any chance of converting, php files into pdf dynamically,i
> need it urgently,can any body help me!
> With snippets of code or by url or by sending files?
> thank u with Regards.............
hi u got any solution for it??
i also need the same help..........
thanks
Pragnesh
Re: How to convert php files into pdf, onfly?
am 03.09.2007 15:55:36 von the DtTvB
Pragnesh wrote:
> On Aug 16, 7:02 am, chandoo wrote:
> > Is there any chance of converting, php files into pdf dynamically,i
> > need it urgently,can any body help me!
> > With snippets of code or by url or by sending files?
> > thank u with Regards.............
>
> hi u got any solution for it??
> i also need the same help..........
>
> thanks
>
> Pragnesh
Read about the PDF functions, or you can try
FPDF.
- the DtTvB
Re: How to convert php files into pdf, onfly?
am 05.09.2007 00:23:45 von Aaron Saray
On Sep 3, 8:55 am, the DtTvB wrote:
> Pragnesh wrote:
> > On Aug 16, 7:02 am, chandoo wrote:
> > > Is there any chance of converting, php files into pdf dynamically,i
> > > need it urgently,can any body help me!
> > > With snippets of code or by url or by sending files?
> > > thank u with Regards.............
>
> > hi u got any solution for it??
> > i also need the same help..........
>
> > thanks
>
> > Pragnesh
>
> Read about the PDF functions, or you can try
> FPDF.
>
> - the DtTvB
Are you trying to display the CONTENT of the php file to a PDF using
PHP? If so, you might try using the highlight_file() or equivalent
function and then piping it to one of the above PDF libraries.
Re: How to convert php files into pdf, onfly?
am 06.09.2007 01:16:01 von ST
On Sep 4, 11:23 pm, Aaron Saray <102degr...@102degrees.com> wrote:
> On Sep 3, 8:55 am, the DtTvB wrote:
>
>
>
> > Pragnesh wrote:
> > > On Aug 16, 7:02 am, chandoo wrote:
> > > > Is there any chance of converting, php files into pdf dynamically,i
> > > > need it urgently,can any body help me!
> > > > With snippets of code or by url or by sending files?
> > > > thank u with Regards.............
>
> > > hi u got any solution for it??
> > > i also need the same help..........
>
> > > thanks
>
> > > Pragnesh
>
> > Read about the PDF functions, or you can try
> > FPDF.
>
> > - the DtTvB
>
> Are you trying to display the CONTENT of the php file to a PDF using
> PHP? If so, you might try using the highlight_file() or equivalent
> function and then piping it to one of the above PDF libraries.
Try http://sourceforge.net/projects/pdf-php
I use it on 2 sites to generate brochures (properties for sale and
rent) - email me and ill return the URLS so you can take a look to see
them). You should just be able to use php to read the php file in as
text and dump it out to the pdf file which can then be streamed. Be
careful of passing in the file to output as PDF via a GET/POST request
though, as it would leave the system wide open to abuse (eg someone
generating a PDF file containing your database connection scripts,
with usernames and passwords). Just a thought.