jarv
11-04-2010, 03:27 PM
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 :
Code:
include_once('Mail.php');
include_once('Mail_Mime/mime.php');
to
Code:
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?!
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 :
Code:
include_once('Mail.php');
include_once('Mail_Mime/mime.php');
to
Code:
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?!