Re: Re: R: [PHP] pdflib anyone?

From: Date: Fri, 14 Jul 2000 19:39:09 +0000
Subject: Re: Re: R: [PHP] pdflib anyone?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-6693@lists.php.net to get a copy of this message
Oh. I just opened my eyes and saw it on your example page... Thanks that will help us a lot! Rasmus Lerdorf wrote: > 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 > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#6693) next »