I have a form which currently, sends form data back to the user and me via e-mail. What I want to do is have a third destination of a text file on a secure server. I have a secure server but do not know the code to make it write my PHP form data to it.
The form sends the data by this code at the momment. How do I adapt this so it points to and writes to a text file on a server?
// Server Message Code??????
//
mail("$sales_email", "New Bid", $sales_message,
"From: $name <$email>\nReply-To: $sales_email");
Thanks for any help, I am a beginner and have not got a clue.
From Grant