Re: [PHP] pdf

2006-06-28 Thread Jyry Kuukkanen
Hello On Thu, 29 Jun 2006, weetat wrote: > Hi all , > > I am using PHP 4.3.2 and MYSQL database. > > I need to convert the sql query to Adobe PDF format. > Any one have any suggestion how to do this? I have used fpdf (http://www.fpdf.org/) in order to create PDF documents with PHP an

Re: [PHP] Removing key and value

2006-05-04 Thread Jyry Kuukkanen
On Thu, 4 May 2006, Jonas Rosling wrote: > How's the best way to remove a key and it's value from an array? Like in the > code bellow where I would like to remove AK and it's value. > > $salesperson = array( > 'AK' => '1000', > 'AT' => '1500', >

Re: [PHP] PHP-Jabber

2006-05-03 Thread Jyry Kuukkanen
Hello On Wed, 3 May 2006, Tony Aldrich wrote: > Can somebody recommend clean php jabber library? I must send notifications > to some users. This lib weems to work: http://cjphp.netflint.net/ require("class.jabber.php"); $jabber = new Jabber; $jabber->server = "jabber.org"; $jabb

Re: [PHP] variable hell

2005-01-04 Thread Jyry Kuukkanen
On Tue, 4 Jan 2005, mario wrote: > Hi all > > I have few variables in this format: > > $isproductssorttext = "150"; > $isofferssorttext = "250"; > $isnewproductssorttext = "350"; > > $isproductscount = "50"; > $isofferscount = "30"; > $isnewproductscount = "20"; > etc > > > What I want to

Re: [PHP] PHP Accelerator

2004-11-06 Thread Jyry Kuukkanen
On Sun, 7 Nov 2004, raditha dissanayake wrote: > David wrote: > > > I need a PHP accelerator but am not sure which one to use. I would > > highly prefer to not use a commercial accelerator and need one that > > works with PHP 5. Does anyone recommend one out of the ones that exist? > > > this o

Re: [PHP] Presence of a program (PHP)

2004-03-16 Thread Jyry Kuukkanen
On Tue, 16 Mar 2004, Brent Clark wrote: > I have to make use of embedded pdf files in my page (management decision, please > dont argue with me on this one, not my choice). > I there a function or somthing to detect the presence of adobe reader to make sure > the client has it installed, before

Re: [PHP] PDF - Coords

2004-02-19 Thread Jyry Kuukkanen
On Thu, 19 Feb 2004, Juan Torres wrote: > ¡Hola! > > Excuse me, but my english is bad :(. > > My problem is: When I'm writting text in a PDF document, I want to know the > current position, or next position of next text to insert. > > I want to know when I'm near the finish page. ¡Hola! Ther

RE: [PHP] PDF - Coords

2004-02-18 Thread Jyry Kuukkanen
On Wed, 18 Feb 2004, Jay Blanchard wrote: > [snip] > How can I know the currents coordenades of my pdf document? > [/snip] > > Use a GPS? > http://catb.org/~esr/faqs/smart-questions.html > > HTH! ¹Hola! Maybe Señor Torres wanted to know the current position of drawing text or an image, that i

Re: [PHP] PDFlib error 2516

2004-01-16 Thread Jyry Kuukkanen
On Thu, 15 Jan 2004, Mark Wouters wrote: > Hello! > > Tried out this simple script from a tutorial on creating PDF with PHP: > > > $pdf = PDF_new(); > PDF_open_file($pdf, "testpdf.pdf"); > > PDF_set_info($pdf, "Author", "Someone"); > PDF_set_info($pdf, "Title", "PDF creation with PHP");

Re: [PHP] Generating PDF

2003-12-31 Thread Jyry Kuukkanen
The code looks pritty much fine to me. Have you tested your piece of code with PHP 4.x? --jq On Wed, 31 Dec 2003, Yann Larrivee wrote: > Hi i am trying to generate a PDF with PHP5 (latest cvs) and PDFLib 5.0.2 > > I have this very basic example that i took from php.net and saw the same > co

Re: [PHP] PRINT QUESTION

2003-11-25 Thread Jyry Kuukkanen
On Tue, 25 Nov 2003, Burhan Khalid wrote: > Dale Hersh wrote: > > I know that in php there are a bunch of basic functions for opening a > > connection to a printer and then handling the printer queue and so forth. I > > would like to know how to take a string and echo that to the printer in php. >

Re: Betr: [PHP] php - printer button

2003-07-01 Thread Jyry Kuukkanen
On Tue, 1 Jul 2003 [EMAIL PROTECTED] wrote: > > On Tue, 1 Jul 2003, Dore van Hoorn wrote: > > > This is not exactly what you've asked for, but perhaps you're able to use > > it anyway. It is the PHP script I use to create a print-friendly page: > > Everything between and

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Jyry Kuukkanen
On Thu, 3 Apr 2003, Craig wrote: > Hey all, > > Im hoping someone can shed some light on this for me: > > Im running PHP 4.31 on RH Advanced Server 2.1 > > I am connecting, to M$SQL Server 2000 using FreeTDS -- with Sybase support, > and Im stumped on 1 thing: > > CODE: >