I want to send an email with PHP when a user has finished filling in an HTML form and then emailing information from the form. I want to do it from the same script that disp
Then put your snippet in the top of the document en send the mail. What echo($_SERVER['PHP_SELF']); does is that it sends your information the top of your script so you could use it.