jarv Posted November 3, 2010 Share Posted November 3, 2010 hi, I am using this tutorial here: http://www.html-form-guide.com/email-form/php-email-form-attachment.html I have uploaded the relevant files for sending mail and installed PEAR, see: http://www.edisongray.com/index.php and my site here: http://www.edisongray.com/edisongray_webOCT/contact.html When I go to test my contact form i get an error: Warning: include_once(./PEAR/mail/Mail.php) [function.include-once]: failed to open stream: No such file or directory in /home/fhlinux129/e/edisongray.com/user/htdocs/edisongray_webOCT/send-email-form.php on line 4 Warning: include_once() [function.include]: Failed opening './PEAR/mail/Mail.php' for inclusion (include_path='.:/usr/share/pear-php5') in /home/fhlinux129/e/edisongray.com/user/htdocs/edisongray_webOCT/send-email-form.php on line 4 Warning: include_once(./PEAR/mail/mime.php) [function.include-once]: failed to open stream: No such file or directory in /home/fhlinux129/e/edisongray.com/user/htdocs/edisongray_webOCT/send-email-form.php on line 5 Warning: include_once() [function.include]: Failed opening './PEAR/mail/mime.php' for inclusion (include_path='.:/usr/share/pear-php5') in /home/fhlinux129/e/edisongray.com/user/htdocs/edisongray_webOCT/send-email-form.php on line 5 Warning: copy(./uploads/0.jpg) [function.copy]: failed to open stream: No such file or directory in /home/fhlinux129/e/edisongray.com/user/htdocs/edisongray_webOCT/send-email-form.php on line 66 Fatal error: Class 'Mail_mime' not found in /home/fhlinux129/e/edisongray.com/user/htdocs/edisongray_webOCT/send-email-form.php on line 81 I changed my mail and mail_mime paths from : include_once('Mail.php'); include_once('Mail_Mime/mime.php'); to include_once('./PEAR/mail/Mail.php'); include_once('./PEAR/mail/mime.php'); but I think it's wrong?! when I installed mail and mail_mime, I couldn't see directries anywhere?! Quote Link to comment Share on other sites More sharing options...
jarv Posted November 4, 2010 Author Share Posted November 4, 2010 can anyone help me here please? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.