npsari Posted May 9, 2007 Share Posted May 9, 2007 I am installing the php-mailer The installation Guide says: Copy class.phpmailer.php into your php.ini include_path What is the php.ini include_path? I use Cpanel by the way I cant find it Can someone help... Quote Link to comment https://forums.phpfreaks.com/topic/50709-trying-to-intsall-php-mailer/ Share on other sites More sharing options...
Alith7 Posted May 9, 2007 Share Posted May 9, 2007 Not sure if this is going to be a help or not, since I barely know what i'm doing. However this is what I did and my script is working so far. I started a folder called public_html in my htdocs folder and these are the paths that lead to the main files. hope this helps. /public_html/config.php /public_html/MailClass.inc /public_html/phpmailer <-- that's a folder /public_html/phpmailer/class.phpmailer.php does that help? Quote Link to comment https://forums.phpfreaks.com/topic/50709-trying-to-intsall-php-mailer/#findComment-249329 Share on other sites More sharing options...
npsari Posted May 9, 2007 Author Share Posted May 9, 2007 I am sorry, I dont understand what you mean So, does that mean, I simply create any folder, and put all the phpmailer files inside it And put the script on the same file And then I call it require("class.phpmailer.php"); Quote Link to comment https://forums.phpfreaks.com/topic/50709-trying-to-intsall-php-mailer/#findComment-249340 Share on other sites More sharing options...
Alith7 Posted May 9, 2007 Share Posted May 9, 2007 umm...not sure. ??? like I said, I barely understand this myself. maybe someone else has an idea... Quote Link to comment https://forums.phpfreaks.com/topic/50709-trying-to-intsall-php-mailer/#findComment-249368 Share on other sites More sharing options...
per1os Posted May 9, 2007 Share Posted May 9, 2007 create a file called phpinfo.php with the following <?php phpinfo(); ?> That will print out your include path, just search for it or browse down the page. Once you know what path it is copy that file there. Quote Link to comment https://forums.phpfreaks.com/topic/50709-trying-to-intsall-php-mailer/#findComment-249371 Share on other sites More sharing options...
npsari Posted May 9, 2007 Author Share Posted May 9, 2007 Hey, thanks is it the one called... include path Quote Link to comment https://forums.phpfreaks.com/topic/50709-trying-to-intsall-php-mailer/#findComment-249385 Share on other sites More sharing options...
trq Posted May 9, 2007 Share Posted May 9, 2007 Yes. Quote Link to comment https://forums.phpfreaks.com/topic/50709-trying-to-intsall-php-mailer/#findComment-249413 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.