class.PHPMailer.php is in /include/class.phpmailer.php
The include path in php.ini is set to read
include_path = ".:/include"
The second line of the beknighted mail script reads
include_once(class.phpmailer.php) or alernately
include_once(/include/phpmailer.php)
The browser sneers:
in either case.
I am using a Cpanel interface on Hostgator. My interpretation of the file structure is that the classes are stored in /include/ but I am wondering if the feedback home/moi/etc isn't my problem.
I attempted chucking class.phpmailer.ini in the public directory with the script. It screamed for class.smtp.php, which I then threw in with it. At that point the browser displayed the contents of class.smtp.exe
The include path in php.ini is set to read
include_path = ".:/include"
The second line of the beknighted mail script reads
include_once(class.phpmailer.php) or alernately
include_once(/include/phpmailer.php)
The browser sneers:
Warning: require_once(class.phpmailer.php) [function.require-once]: failed to open stream: No such file or directory in /home/moi/public_html/mysite.com/gator2.php on line 2
Fatal error: require_once() [function.require]: Failed opening required 'class.phpmailer.php' (include_path='.:/include/') in /home/moi/public_html/mysite.com/gator2.php on line 2
in either case.
I am using a Cpanel interface on Hostgator. My interpretation of the file structure is that the classes are stored in /include/ but I am wondering if the feedback home/moi/etc isn't my problem.
I attempted chucking class.phpmailer.ini in the public directory with the script. It screamed for class.smtp.php, which I then threw in with it. At that point the browser displayed the contents of class.smtp.exe