Re: R: [PHP] pdflib anyone?

From: Date: Fri, 14 Jul 2000 12:30:01 +0000
Subject: Re: R: [PHP] pdflib anyone?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6627@lists.php.net to get a copy of this message
Please read http://snaps.php.net/manual/en/html/ref.pdf.html Here is how to run pdfclock now: http://conf.php.net/pres/slides/intro/pdf.php Note I am using the in-memory PDF creation support here. -Rasmus On Fri, 14 Jul 2000, Roberto Sartor wrote: > With latest php4.0.2dev downloaded (php4-200007120745) and pdflib-3.0.1 i > got: > > <?php > $pdffilename = "/tmp/pdfclock.pdf"; > $radius = 200; > $margin = 20; > $pagecount = 40; > > $fp = fopen($pdffilename, "w"); > $info=pdf_get_info("P"); // this is line 8 > pdf_set_info_creator($info, "pdfclock.php"); > pdf_set_info_author($info, "Uwe Steinmann"); > pdf_set_info_title($info, "Analog Clock"); > $pdf = pdf_open($fp,$info); > ... > ... > ?> > > Starting this php file, I get > > Fatal error: Call to undefined function: pdf_get_info() in > /home/httpd/html/privati/pdfclock.php on line 8 > > When I cut lines 8,9,10 and 11 and make 12 so > $pdf = pdf_open($fp); > > then Apache can't find page on server. > > Ciao > Roberto > > > > > > > Has anyone gotten pdflib 3.x installed and working? If > > > so, would you be willing to set me up with an account > > > for a week or so to develop off of? > > > > What's the problem? It is trivial to set up. > > > > -Rasmus > > >

« previous php.general (#6627) next »