hi, im trying to use phpmailer on my 1and1.co.uk hosting webspace but it says i need to set the include path for it to work. 1and1 allows you to set your own
php.ini file to add to basic settings which is fine but ive done this but am unsure if ive done it right. the files i want to include are located in my webspace like this:
- Code: Select all
/shop/file_info/admin/paypal/class.phpmailer.php
and
- Code: Select all
/shop/file_info/admin/paypal/class.smtp.php
the
php.ini is going to be put in the webspace root so i figured i just do the include path as follows:
- Code: Select all
include_path = ".:/shop/file_info/admin/paypal/class.phpmailer.php;/shop/file_info/admin/paypal/class.smptp.php" ;
....but it isnt working, this is the only code i have in the
php.ini file so im not sure if i need more or if ive even got the right syntax?
i also tried php_value include_path but this didnt work
any advice?