still no joy
Hi
Thank you for your reply.
The issue with the space was with the code that I cut and pasted from another post on the forum to show the errors. (stupid or what) there was a space at the end of it.
The form is still not working, but getting close.
If I remove the path to Pear I get the following error
Warning: require_once(Mail.php): failed to open stream: No such file or directory in /usr/local/pem/vhosts/126152/webspace/httpdocs/bccltd.ie/webassist/email/PEAR_Mail_using_SMTP_php.php on line 113 Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/pem/vhosts/126152/webspace/httpdocs/bccltd.ie/webassist/email/PEAR_Mail_using_SMTP_php.php on line 113
If I put in the / at the end of the path to Pear I get the following error
Warning: require_once(): open_basedir restriction in effect. File(/usr/bin/pear/Mail.php) is not within the allowed path(s): (.:/php/includes:/usr/local/pem/vhosts/126152) in /usr/local/pem/vhosts/126152/webspace/httpdocs/bccltd.ie/webassist/email/PEAR_Mail_using_SMTP_php.php on line 113 Warning: require_once(/usr/bin/pear/Mail.php): failed to open stream: Operation not permitted in /usr/local/pem/vhosts/126152/webspace/httpdocs/bccltd.ie/webassist/email/PEAR_Mail_using_SMTP_php.php on line 113 Fatal error: require_once(): Failed opening required '/usr/bin/pear/Mail.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/pem/vhosts/126152/webspace/httpdocs/bccltd.ie/webassist/email/PEAR_Mail_using_SMTP_php.php on line 113
I have asked the host and they tell me that the path to pear is correct.