Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP

Including a third party php mailer ?

I am trying to complete this code challenge:In this code challenge, we will work with a third-party library that helps us identify palindromic primes. First, at the top of the file, let’s include the third-party library. You can find it at class.palprimechecker.php in the same folder as the file below.

This is my code: require_once("inc/phpmailer/class.palprimechecker.php");

I keep getting the bummer message. May some please help me to figure out what im doing wrong I have rewatched the video and I do not see the problem. Thanks in advance.

1 Answer

Gareth Borcherds
Gareth Borcherds
9,372 Points

If it is in the same folder it should simply be require_once("class.palprimechecker.php");