Hello LLC,

Sunday, November 21, 2004, 8:34:26 PM, you wrote:

ML> In php.ini we have the ability to set sendmail_from only for
ML> Windows. It is unfair, because it does not work for Linux. When I
ML> broadcast, the From defaults to 'Apache' and people have
ML> complained about that.

It will only set the From address if you do not set it yourself in the
mail function. Personally I've never used the sendmail_from php.ini
value in my life (on Windows servers). Do it like this:

mail('[EMAIL PROTECTED]', 'Subject', $message, "From:
[EMAIL PROTECTED]")

Take a look at the examples for mail() in the PHP manual.

ML> Another thing that is causing trouble is that uploaded file
ML> ownership defaults to apache.apache, and I could not find a way to
ML> change ownership and permissions for uploaded files. Did anybody
ML> in this list solve these problems? Thank you

That, I'm afraid, is down to the configuration of your web server and
pretty much out of your control (unless you can control the
configuration of your web server of course).

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I am not young enough to know everything." - Oscar Wilde

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to