Go Back   Computer Forums > Web Design | Website Development > General Hosting
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 06-27-2014, 03:51 PM   #1
Solid State Member
Join Date: May 2014
Location: United States
Posts: 16
Default PEAR available for web hosts.

I'm building a website that uses E-mail attachments when sending E-mails. The only way that I know how to do this is with PEAR.

I built over 95% of my website using a particular web host. Now, I have to change that web host, but have found that my PHP E-mail program doesn't work on the new web host.

So here are two questions that I have. If a web host already has PEAR available on their system, do I have to do anything other than simply use the appropriate "include" commands in my PHP pages?

As long as I use "include Mail.php" and "include Mail/mime.php", at the beginning of my pages that use E-mail, everything works perfectly on the old web host. I started building the site quite a while ago, and I can't remember if I had to configure anything else in order to get this to work, or if they already had it set up so that it would work automatically with those "includes".

My second question is concerning whether or not PEAR is common these days for most web hosts.

I have read that it's possible for me to install PEAR on my new web host's servers so that my pages will work. However, I have learned that this is far from easy. Tutorials make it look easy, but when you actually do them, things don't work. So I'm thinking of just finding a third web host that already has PEAR installed. But if they do, do I have to perform any more configurations in order for it to work, or are the "includes" enough?

This PEAR issue has become so much of a headache that I've considered re-designing the way that my site works so that I don't have to use E-mail attachments. However, the thought of that too, is daunting.

So is PEAR common for most web hosts? And if it is, do I have to do more than include the appropriate "include" statements in order to use it?
evansste is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 08:32 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0