I am having the following problem:
Warning: include_once() [function.include]: Failed opening 'Mail_Mime/mime.php' for
inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/myUserName/public_html/ssp/php/send-email-form.php on line 5
At the top of my php page I have the following:
include_once('Mail.php');
include_once('Mail_Mime/mime.php');
Update: Cpanel says my php extensions are located at /home/cloudbit/php I can see mime.php and mail.php in /home/USERNAME/php/mail/
Any idea how I basically tell it to use that path mentioned in the error? New to this.
Thanks Mark
Hiya, Cpanel says my php extensions are located at /home/cloudbit/php I can see mime.php and mail.php in /home/cloudbit/php/mail/ – Mark H
Then your include should look as follows:
include_once('mail/mail.php');
include_once('mail/mime.php');