Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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");