February 6th, 2013, 09:37 AM
Smtp configuration in .htaccess
I need to change the smtp configuration in htaccess (ISP don't allow to change in php.ini).
How I can indicate the following values: host, username and password?
February 6th, 2013, 10:40 AM
Since this effects the httpd, it is unlikely your ISP has that capability enabled either. However, there are 2 ways to try.
1) In htaccess the format is:
php_value <name> <value>
php_value SMTP smtp.server.com
2) You can try using ini_set() in your script.
Last edited by gw1500se; February 6th, 2013 at 10:55 AM.
There are 10 kinds of people in the world. Those that understand binary and those that don't.