Send mail

hi
i want to know how to send mail from flash thro php n how to configure server for php.