Re: [nyphp-talk] Editing a PDF

2008-01-03 Thread Aaron Fischer
I use FPDF and FPDI to import existing PDFs and modify them. However, I agree it's probably not in the sense that you are referring to them Tedd. Basically it brings the PDF in as a template and then you can write to it, images or text for example. Everything I have done has involved writ

Re: [nyphp-talk] Editing a PDF

2008-01-03 Thread Michael B Allen
On 1/3/08, Jeff Loiselle <[EMAIL PROTECTED]> wrote: > Hello, > > Can anyone recommend a package they've used (written in PHP, no > extensions) to open a PDF, add a simple text header line, and save it? I have not tried this myself but the Zend_Pdf component of Zend Framework can probably do what y

Re: [nyphp-talk] Editing a PDF

2008-01-03 Thread tedd
At 11:54 AM -0400 1/3/08, Jeff Loiselle wrote: Hello, Can anyone recommend a package they've used (written in PHP, no extensions) to open a PDF, add a simple text header line, and save it? Regards, jeff Arrggg, that's going to be difficult. The innards of pdf files are not trivial. You ca

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-03 Thread John Campbell
Rusty has a perfectly valid point, but comparing java and php in this regard is nonsensical because java is typed, php is not. I think a more relevant comparison is comparing the same code in other non-typed languages. JAVASCRIPT: var a = 0; var b = "eggs"; var c = "spam"; var d = null; var e = [

Re: [nyphp-talk] Editing a PDF

2008-01-03 Thread David Merryweather
To open an existing PDF, you will need the FPDI library too. http://www.setasign.de/products/pdf-php-solutions/fpdi/ On Jan 3, 2008 10:01 AM, Aaron Fischer <[EMAIL PROTECTED]> wrote: > I've had great success with this one: > http://www.fpdf.org/ > > > On Jan 3, 2008, at 10:54 AM, Jeff Loiselle

Re: [nyphp-talk] Editing a PDF

2008-01-03 Thread Aaron Fischer
I've had great success with this one: http://www.fpdf.org/ On Jan 3, 2008, at 10:54 AM, Jeff Loiselle wrote: Hello, Can anyone recommend a package they've used (written in PHP, no extensions) to open a PDF, add a simple text header line, and save it? Regards, jeff ___

[nyphp-talk] Editing a PDF

2008-01-03 Thread Jeff Loiselle
Hello, Can anyone recommend a package they've used (written in PHP, no extensions) to open a PDF, add a simple text header line, and save it? Regards, jeff ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NY

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-03 Thread Tim Gales
Anthony Wlodarski wrote: This article was funny and yet sad... Yes me too -- but for different reasons. I thought it was extremely immature to say "PHP is a better language". It is like trying to argue that a Phillips head screwdriver is a better screwdriver (as was mentioned) without taking

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-03 Thread Jake McGraw
I believe it was my Uncle Ben who once said "With great power comes great responsibility." PHP does things in a manner different than C or Java or Python or etc etc etc (that is why it is called PHP). There are features that some programmers believe are shortcomings, there are shortcomings that som

RE: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-03 Thread Anthony Wlodarski
Zesty Ping never learned === apparently. This one's for you Zesty: http://www.php.net/manual/en/language.operators.comparison.php "===" introduced type facing in php4 so it is a moot point or just poor reading skills on some developers parts if they missed this essential comparison operator...

Re: [nyphp-talk] Why do "cool kids" choose PHP to build websites instead of Java

2008-01-03 Thread Gary Mort
Elliotte Rusty Harold wrote: % cat equality.php I don't see this as a problem, basically the issue being raised is: PHP does not have strong typing, this 0, NULL, and false are all equivalent(add a $d=false; to the definitions and everything still comes out with the same result). However,