开发者

Pear Mail corrupting php file

开发者 https://www.devze.com 2023-03-19 14:52 出处:网络
When I try to include PEAR\'s Mail.php, it breaks my code. I have installed PEAR properly (followed the instructions on the PEAR site and received proper output code) and added an include_path in the

When I try to include PEAR's Mail.php, it breaks my code.

I have installed PEAR properly (followed the instructions on the PEAR site and received proper output code) and added an include_path in the php.ini to PEAR for when I need to include the package. Basically all instructions on how to install properly were followed to a T.

Why would including PEAR's Mail.php break my code unrelated to PEAR? Even when I have开发者_如何学C nothing pertaining to PEAR's Mail.php besides the include (or require_once), my other code breaks.


There is probably a variable/object conflict of some kind. You might be redefining something unintentionally that has already been defined in the PEAR Mail include. Without seeing the code it is hard to say.

0

精彩评论

暂无评论...
验证码 换一张
取 消