I've looked through several Google searches now, and continue to keep coming up empty when it comes to finding some end-user documentation for the File_PDF package.
A lot of people have pointed to FPDF, which is a predecessor, and as far I know, no longer compatible. FPDF hasn't been updated (http://fpdf.org/) since 2008, either.
I'...
What's a good way to include Pear dependencies in ant/ivy. Should I use phing or is there a better way using ant?
Thanks,
Sriranjan
...
Hi folks. I'm using tcpdf (http://www.tcpdf.org/) to generate PDFs of some tables and images. The images are loaded without an issue, but I'm having issues with the writeHTML() function.
I can't seem to control the font sizes or table width/height through the HTML, so I end up with a tiny, tiny, tiny table that you have to print of an...
Hi everyone, I'm trying to e-mail a html table, that has links within it. But when I receive the e-mail, it just shows me the html code itself.
I'm using PHP pear to send the email.
I try constructing a string like so
$body = "<table>";
$body = $body . "<tr><td><a href='http://google.ca'>Google</a></td></tr>";
...
I'm trying to install PEAR on OS X, using the built-in PHP 5.3 installation. I did this:
curl http://pear.php.net/go-pear > go-pear.php
php go-pear.php
After answering some prompts, I start getting tons of errors like this:
Deprecated: Assigning the return value of new by reference is deprecated in /Users/username/bin/pear/temp/PEAR....
I want to install the Crypt_DiffieHellman PEAR package, that gives me the following error:
pear/Crypt_DiffieHellman requires PHP extension "gmp"
So I installed the gmp extension (using MacPorts' "php5-gmp"), both php -m and extension_loaded('gmp') indicate that the extension is loaded. However I still get the PEAR error when I try to ...
I have a PHP script that uses PEAR to access and update a MySQL table (below). The table has 2 primary key pair: code_class & code_value. I'm trying to update a table record with a code_value of "APP" to "APPL". A relatively simple task, right? But with PEAR, it seems like the primary key is throwing a wrench into task and rather tha...
I'm using pear mail and pear mail mime to send UTF8 HTML emails.
When I input urls such as //www.site.com.img they appear in the email as http:///www.site.com.img (note the three slashes).
Anyone know how to use //www urls with pear-mail/mime ?
To duplicate you can use the following code (taken from here) with change
<?php
require_o...
I installed the Mail_Mime package.
include('Mail.php');
include('Mail/mime.php');
I get the following errors:
Warning: include(Mail.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/domain.co.uk/httpdocs/mail_mime/index.php on line 2
Warning: include() [function.include]: Failed opening 'M...
Hello, I am moving from the basic authentication method using username
and password to the OAuth based authentication.
I was using an old version of the pear package Services_Twitter, that
did not support OAuth.
The latest version of this package supports OAuth authentications, it
has a few dependencies (HTTP_Request2, HTTP_OAuth).
It ...
I've no idea with command line stuff!
What i've done:
changed my php.ini to phar.require_hash -> off
ran go-pear.bat
so i'm pretty sure i've got PEAR installed,
now I'd like to install this package
I've tried following the instructions but I really don't know how to do things with cmd.exe,
would love some help!
...
I am connecting to MySQL database on my webpage and have this copy-pasted code for errors:
if(DB::isError($db)) die($db->getMessage());
I have the connection code in an outside file called connection.inc that I include at the beginning of my page before the DOCTYPE and html tags.
For debugging purposes, how can I print the database e...
Hey,
does anyone know a package manager library for PHP (as e.g. apt or yum for linux distros) apart from PEAR? I'm working on a system which should include a package management system for module management. I managed to get a working solution using PEAR, but using the PEAR client for anything else than managing a PEAR installation is n...
Hello, I am developing a script for a site using php and I want to use some PEAR classes as they are very helpful to save me from some repeated tasks.The Problem is that I have to deliver the project as a standalone folder that will be placed in an existing website without depending on any server configuration other than PHP 5 and MySQL....
Hello i wish to be able to deploy a PHP web application along with a local installation of PEAR.
To be more specific, i am trying to find a way to do a 'per-application' or local installation of PEAR if this is possible.
For example:
The application 'MyApplication' is located in: /var/www/applications/myapplication
The php library i...
I'm interested in learning more about design practices in PHP for Database Abstraction & Factory methods. For background, my site is a common-interest social networking community currently in beta mode.
Currently, I've started moving my old code for object retrieval to factory methods. However, I do feel like I'm limiting myself by ke...
I've been trying to do some PHP work on my snow leopard machine.. but I've found issues when I need to use PEAR packages (as symfony handles its php plugins with PEAR).
I've found some references that state that snow leopard includes PEAR.. but how come I cant find it?!
Could someone confirm this.. if if so, where is my pear?
...
Hi everyone,
I'm currently working on an application that requires lots of external libraries. My job right now is set a unique error handler that will manage every error.
So far, I found 7 different types of PEAR errors:
PEAR_ERROR_RETURN:
PEAR_ERROR_EXCEPTION:
PEAR_ERROR_CALLBACK:
PEAR_ERROR_PRINT:
PEAR_ERROR_TRIGGER:
PEAR_ERROR_D...
I have a PEAR mailing script that is used to send newsletters from a clients website. I've used the same code before to produce another newsletter system and it has worked well and been used to send emails to various addresses, however our latest client hasn't been receiving any of the emails.
When the newsletter is sent from the site t...
Hi. I'm working on a Tree Menu that gets it's parents and childs from a web service via soap.
I have used PEAR\HTML_TreeMenu and i have my tree up and running..
So now i have to do 2 more things:
Ajax it so parents and child are loaded async and when need it.
Get all that in a joomla module...
My problem for starters is that HTML_T...