Questions tagged [pear]

PEAR is a repository of PHP software code, designed to offer some functionality not built into PHP core

The PHP Extension and Application Repository, or PEAR, is a repository of PHP software code.

PEAR contains a repository of hundreds of PHP libraries, ranging from HTML form generation to an IMAP protocol implementation. Its use as a package manager (for both PEAR and PECL) has been deprecated (it throws numerous warnings if you run it under PHP 5.4 or later). PEAR libraries, being normal PHP files, can be downloaded directly and included like any other PHP file. If you need a package manager for PEAR, you can use PEAR2 Pyrus, which is written in

Stig S. Bakken founded the PEAR project in 1999 to promote the re-use of code that performs common functions. The project seeks to provide a structured library of code, maintain a system for distributing code and for managing code packages, and promote a standard coding style. Though community-driven, the PEAR project has a PEAR Group which serves as the governing body and takes care of administrative tasks. Each PEAR code package comprises an independent project under the PEAR umbrella. It has its own development team, version-control and documentation.

See http://pear.php.net/ for more information.

1683 questions
0
votes
1 answer

PHP Blowfish File Missing?

I am testing Blowfish on the RHEL Server. But having followng error: Failed opening required 'Blowfish/DefaultKey.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/.......... Blowfish/DefaultKey.php file is missing? How to…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
0
votes
1 answer

Trying to sanitize user input to dynamically set column name in PearDB prepared statement

I'm trying to write a simple method to sort some DB results. We are stuck using PEAR DB, which is an old OO data object class. I need to dynamically set which column we sort by: $query = $db->prepare('SELECT * FROM ' . $this->table . ' WHERE ? IS…
erfling
  • 384
  • 2
  • 16
0
votes
1 answer

Can't get PHP Net_DNSBL working

I'm trying to get working the Net_DNSBL package from PEAR to make some blacklisting checks on domain names, i'm using PHP5.3 and have installed php_pear. Using the pear command I've installed Net_DNSBL with all it dependencies. But when I try to use…
SubniC
  • 9,807
  • 4
  • 26
  • 33
0
votes
1 answer

Missing attachement in mail sent through Mime / SMTP Gmail Server (PHP, PEAR)

I am sending an Email from my server through SMTP Gmail using Pear's Mail Mime. However when I add an attachement it simply does not show up. $smtpinfo["host"] = "ssl://smtp.gmail.com"; $smtpinfo["port"] = "465"; $smtpinfo["auth"] = true; …
elMeroMero
  • 752
  • 6
  • 18
0
votes
1 answer

PEAR DB, moving from MySQL 4 to 5, .ini file issue?

We're running a custom made CMS that uses PEAR DB class to handle the database. The database is using MySQL 4.0. Our hosting provider is updating to MySQL 5.0 and deactivating all databases using 4.0. I've exported the old DB and made a new 5.0 one…
jimmy
  • 411
  • 3
  • 14
0
votes
1 answer

Cannot redeclare class mdb2_error in Pear MDB2 package

I haven't install pear in my PC,instead I download the packages and unzip them to "libs" dictionary in my web-app.the structure of dictionary of my web-app is roughly like this: web-app +-/backend +-/libs +-/peardb +-pear.php …
user76047
  • 53
  • 2
  • 7
0
votes
2 answers

pear mail, setting and using

I am a begginer, so please advise. Facts : try to use pear's mail and make it work. I installed pear, mail, and Net. I use Apache 2.2.22, PHP 5.3.13, Windows 7. The whole system is installed localy on my laptop. Does this makes any difference?…
slevin
  • 4,166
  • 20
  • 69
  • 129
0
votes
1 answer

Why PEAR_INSTALL_DIR has wrong PEAR path?

This question is related to: Why $pear->packageExists() returns always false on installed package? PEAR_INSTALL_DIR has: C:\php\pear but this path doesn't exists in my system. I have PEAR installed to: C:\Program Files (x86)\IIS…
Codium
  • 3,200
  • 6
  • 34
  • 60
0
votes
2 answers

PHP_Uml to XMI to UML Diagram on Ubuntu / Linux

I am using the PHP_Uml pear package and I created a XMI in version 1 and 2. Unfortunately ArgoUml does not parse the XMI 1 correctly, and the XMI 2 always fails with the "new" argo. phpuml . -x 1 -o project.xmi Is there any tool that has the…
LeMike
  • 3,195
  • 5
  • 25
  • 35
0
votes
0 answers

php pear mail extension raises strict notices

Note Though some of you seem to think differently, this is not a duplicate of PHP: PEAR mail message error. That question asks how to suppress the strict notices, which I have no trouble doing. My question pertains to the behavior later on (the…
susie derkins
  • 512
  • 2
  • 6
  • 17
0
votes
2 answers

Accessing array value

print_r($fanr); results in: HTML_QuickForm_text Object ( [_label] => FA-Nummer [_type] => text [_flagFrozen] => [_persistantFreeze] => 1 [_attributes] => Array ( [name] => auftragsnr [type] =>…
vbd
  • 3,437
  • 4
  • 32
  • 45
0
votes
1 answer

SSL Certificate Installation Caused Website to Stop Working

So I had an SSL certificate, I bought one from a new company, through plesk, I installed the new one and then the website just stopped working completely. The host company cant help, the developers we have dont know how to get it to work. We…
William
  • 1
  • 1
0
votes
1 answer

PHP Pear ITX add and replace block file

I use PEAR ITX to add template. What my problem is, first 2 time ($number>2) condition match and the $fileName2 is added success, block show as expect; but when the third time ($number==2) condition match but $fileName1 seem like fail to load, it…
crossRT
  • 616
  • 4
  • 12
  • 26
0
votes
2 answers

PEAR SMTP Behaviour in Windows

I have a strange problem. I am using PEAR SMTP on Ubuntu. When I send this message: --==Alternative_Boundary_x{da5ccf044317613d9f8e371455f292a6}x Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit hello world - plain text…
Antony D'Andrea
  • 991
  • 1
  • 16
  • 35
0
votes
2 answers

PHP XML serializer

Is there some php libraries which implement serialization of data to XML-format like serialize() and unserialize() (with restoring objects from XML) functions of objects with private and protected fields? PEAR XML_Serializer works fine with type…
zavg
  • 10,351
  • 4
  • 44
  • 67
1 2 3
99
100