Hey all,
I've installed pear using this guide http://t-machine.org/index.php/2008/12/28/how-to-install-pear-on-os-x-105/
In /etc/php.ini my include_path = ".:/usr/local/PEAR"
PHPUnit is installed under /usr/local/PEAR/PHPUnit using sudo pear install phpunit/PHPUnit(I get an error otherwise)
Yet when I try execute phpunit I'm getting ...
I'm trying to do a system wide install of PEAR on my web server. When I execute go-pear.bat in the PHP installation folder from the command line I get the following error windows popping up:
---------------------------
php.exe - Unable To Locate Component
---------------------------
This application has failed to start because php_mbstr...
Situation:
I am creating a database user interface for a client's website. I know I could simply use phpMyAdmin, but it is too complex for my client. Instead, I though I could give some of the PEAR Packages a try. After doing some research and following tutorials I decided to go with the Structures_DataGrid package. I am currently follo...
hi ,
i used PEAR Pager in my Projects . it's works fine in my local server but when i upload it to hosing server it's gaves me fatal error :
Fatal error: Cannot redeclare class PEAR_Common in /usr/lib/php/PEAR/Common.php on line 1123
i don't know what's the problem , how can i solve that ?!
...
I am using Image_Graph (maintained at pear.veggerby.dk)to generate some graphs. I've been trying to use the methods described on this page
http://pear.php.net/reference/Image_Graph-0.2.1/Image_Graph/Image_Graph_Axis.html
to manipulate ticks but none of them seem to even exist in the 0.7.2 install. Anyone else having this problem?
...
Am trying to create a grid calendar using PEAR and PHP but when I preview the file in my browser I get the following:
*Warning: include(Calendar/Month/Weekdays.php) [function.include]: failed to open stream: No such file or directory in /Users/x/Sites/p/testing pages/Pear_Date.php on line 8
Warning: include() [function.include]: Failed ...
hi i'm working on a multilanguage project and. and i'm having some problemsi with iconv's //TRANSLIT. so i found this package. i succesfuly installed that package to my linux box but when i tried to install it on windows pear gives this error:
ERROR: The DSP translit.dsp does not exist. i couldn't find i compiled dll eigther.
can you h...
Hi,
I´m having trouble sending a e-mail with the PHPMailer class, but it works with PEAR Mail::factory.
I guess the problem is with the SMTP authentication, but I couldn´t find the problem.
The code with problem is:
<?php
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP(); // set mailer to use SMTP
$mail...
I have a cron which generates the whole mail info and puts in a database table using $mail_queue->put(.....) with an option to delete emails after they're sent.
Here's where I need a little help: What is the best way to send the emails after I have the above info? Running the $mail_queue->sendMailsInQueue() right away, using other cron ...
Hello.
I have been trying to make OOP PHP5 code. But I think my attempts are clumsy. These are my questions:
Is their a better, more leaner way to include database config information?
Can I somehow get around having to declare $db = new Db() in every function I make?
Should I use PEAR as database abstraction layer instead of Mysqli_da...
i am creating rss reader application with php.it is basicly getting rss url's from user and with php i am creating an rss reader.But i have some problems how to get rss content with php i try to use pear extension but i had some problem with that.it would be good that seeing some sample code or example application source code which not s...
I need to take two text blocks with html tags and render a comparison - merge the two text blocks and then highlight what was added or removed from one version to the next.
I have used the PEAR Text_Diff class to successfully render comparisons of plain text, but when I try to throw text with html tags in it, it gets UGLY. Because of t...
Hi,
I am using PEAR mail system to send authenticated mails.I need to send HTML mails that has alinks.It was working fine before i started using PEAR mail.Now i am not able to send HTML mails.
mail body looks like this:
$body = <<<EOD
Hiya $username
You might be interested in the current 'haves' and 'wants' on example.com
Latest Ha...
Is there a good class repository like PEAR for PHP for other languages such as Ruby or C#? If so what are they?
Are they any good?
...
I can see that GD library is for images. But I can't see differences between PECL and PEAR.
Both have authentication.
What are the main differences between two?
Why don't they combine them?
...
I am learning PHP PEAR and testing the following code.
However when I login, I get the following error.
Could anyone tell me what is wrong with the code?
++++++++++++++++
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in C:\xampp\php\PEAR\Auth.php on line 830
War...
HI
Does anyone know where I can find good documentation on the Pear module Net_DNS?
...
Hello,
I am having problems with PEAR Auth on a linux machine. On the windows machine where development took place there is no problem.
Users get the invalid username/password message which is displayed whenever the auth fails.
Did anyone had the same problem ?
Using MDB2 for the database connection.
Regards,
...
I am using PEAR's Quickform package to validate a form I have, I need help getting a validation rule applied to a group of checkboxes.
$subjectArea[] = HTML_QuickForm::createElement('advcheckbox', 'SubjectArea', null, 'Student', 'id="subjectareastudent"', 'Student');
$subjectArea[] = HTML_QuickForm::createElement('advcheckbox', 'Subject...
the install instructions for phpunit are running this:
pear channel-discover pear.phpunit.de
pear install phpunit/PHPUnit
the first one goes okay , on the second I get an error:
phpunit/PHPUnit requires PEAR Installer (version >= 1.8.1), installed version is 1.7.2
phpunit/PHPUnit can optionally use package "pear/Image_GraphViz" (vers...