pear

Pear SOAP and XAMPP on Ubuntu

All, I have installed xampp for linux on ubuntu 9.10. The installation directory is /opt/lampp. The xampp website says PEAR comes with the installation.. I am relatively new to PEAR and want to know the answers for following: Is PEAR installed with xampp or need to be installed separately using synaptic package manager? I browse to /o...

Strange behaviour with PHP/Pear HTML_Quickform and Firfox 3.6

Edit: Look at this question with IE8 and compare it to Firefox 3.6. I am using PHP/Pear HTMLQuickForm and HTMLQuickForm_Controller to do some stuff with HTML-forms. Then I noticed that certain phone numbers would not be displayed even though the data had been loaded correctly. I boiled it down to the following rather strange phenomenon...

how to use a pear package!?

I want to use HTTP_DOWNLOAD to manage my downloads ,, I have never used PEAR before !! HTTP_DOWNLOAD depends on many other packages , I downloaded them and the ones they , in turn , depend on and this is the structure I made : Download.PHP <---HTTP_DOWNLOAD MAIN FILE Header.php <--- HTTP_HEADER MAIN FILE PEAR.php PEAR5.php ...

any idea how to stop HTTP_DOWNLOAD pear package from resuming downloads !?

how to force HTTP_DOWNLOAD not to resume downloads ( for free unpaid members for example ,but i'll take care of this ) .. I tried to miss with the range commands , I got it not resuming but in the same time doesn't send the file size and the user will not know how % has completed or how big the file is .... any help is appreciatd ...

Why does PEAR get installed to my user directory?

I am new to Linux and I am attempting to install the PHP PEAR library on a virtual server which is running Ubuntu. I am following a tutorial that covers installing PEAR but have run up against an area where I am confused. When running the PEAR installation program I am prompted as to what I want the INSTALL_PREFIX to be. Evidently the IN...

what does the 'addDecl' option do in pear - XML_Serialize

Hi, I am looking at the examples given at the XML_Serialize pear plugin manual. I can't figure out what the option 'addDecl' does in this plugin. What does this do? I can't seem to find it in their documentation... ...

What is faster - using PEAR package or including required libraries directly into php code?

Hello, What will work faster - using PEAR package or require Some_Library.php files in code? For example, what is faster - using Smarty as PEAR module or using require_once("Smarty.php")? Have anyone tested this? Thank you ...

UTF-8 emails to Mac Mail and Gmail

I'm using Pear mail_mime to send HTML emails out, and first the UTF-8 characters were messed up in Gmail, but not in Mac Mail. I discovered that I needed to add parameters to the get() function to correct the character set used in the HTML portion of the MIME message. It was defaulting to ISO. So, I've corrected this problem, the email ...

sending email with PHP (preventing from being placed in spam folder)

hello, i am trying to send email using PHP scripts... however, the recipient is receiving it in his/her SPAM folder -this is not the desired result (I would like to have it sent directly to their inbox so that I don't have to warn them to look in their SPAM folder). below is the code I use to send the email using PEAR... what changes ca...

System_Daemon and shell_exec

Hey Everyone, I've set up a daemon (daemon.php) using PEAR's System_Daemon which waits for something to appear in the database. Once something is there, the daemon gets enough information and sends it out to another script (execute.php) using the shell_exec command this way I'm not worried about waiting for a response and holding up the...

ERRNO: 8192 when trying to send mail

I have the following code which works when i put it in any blank php page,but when i try to put the code in another php page where i already have some codes in it, i get the error: ERRNO: 8192 TEXT: Assigning the return value of new by reference is deprecated LOCATION: C:\xampp\php\PEAR\Mail.php, line 154, include('Mail.php'); ...

Execute codes in a different page but remain on the same actual php page

I have a complicated problem here..I have codes to send mail using PEAR which i have tested in a php page called testmail.php. Now i have my actual application an a page called Cart.php where i have a button called Place Order. When i click on this button, it actually redirects to a url called : http://localhost/final/index.php?OrderSucc...

php pear: how can i check what files did the package install ?

Hi. after I installed a package with pear, i would like to know what files this package installed. how can i check that? thanks ...

pear mail queue report script?

Is there a pear mail queue reporting script that builds pretty charts and graphs from your MQ database? I have MQ set up on a cron job and I want to tie some reporting into my admin console. ...

Spreadsheet_Excel_Writer data output is damaged

I use Spreadsheet_Excel_Writer to generate .xls file and it works fine until I have to deal with a large amount of data. On certain stage it just writes some nonsense chars and quits filling certain columns. However some columns are field up to the end (generally numeric data) I'm not quite sure how the xls document is formed: row by ro...

MDB2, Pear, Mysql error

Hi Guys, I have PEAR, MDB2 and Mysql Driver installed however I keep getting: Fatal error: Call to undefined function: MDB2_Driver_mysql::_isNewLinkSet(). in /home/**/PEAR/MDB2.php on line 1937. The Server is CentOS I am stuck, any help would be appriciated. Thanks :) ...

Pear PHP UML Class Diagrams

Hi, I am trying to create graphical representations of existing code. I have tried to use VS.PHP (with Visual Studios 2010) but cant seem to generate class diagrams from this. I have tried to use Pear's PHP UML package which has produced a lot of JavaDoc style documentation and an XMI document. From what I have read, this can be us...

PEAR:DB connection parameters

I just finished my first PHP site and now I have a security-related question. I used PEAR:DB for the database connection and made a separate parameter file for it. How should I hide this parameter file? I found a guide (http://www.kitebird.com/articles/peardb.html) that says: Another way to specify connection parameters is to put ...

Mirror for pear.phing.info

Hi, pear.phing.info seems to be down, does anyone know if there are any mirrors available for this package? Thanks, Jon ...

Pear MDB2 class and raiserror exceptions in SQL Server

Hi, in SQL Server it's possible to raise an error with raiserror(). I want to use a severity, which doesn't interrupt the connection. This error is raised in a stored procedure. In SQL Management Studio all is fine and I get my error code when executing this SP. But when trying to execute this SP via MDB2 in PHP5 this doesn't work. All I...