php.ini questions regarding shared hosting and default values


Windows 2008
PHP 5.2.17 & 5.3.5

I have a shared hosting configuration. I found that this makes it difficult to set the sendfrom email per-user so that I can better track spam. I found the way to do it per directory via the registry which works out great unless the user puts a php.ini in their local directory root. If they do this, even if the directives have nothing to do with sendmail_from, the values default to what is in their file and what isn’t specified goes back to the original configuration which means the registry entries I set become ignored.

I am wondering if there is a way to circumvent this while still allowing users to use custom php.ini’s. If anyone has any ideas on what I can modify to be able to get the sendmail_from to show a user / domain specific value per site or how to make the registry setting take precedence while still allowing users to add their own values.

Thank you.

Sponsor our Newsletter | Privacy Policy | Terms of Service