Sorry, I guess that I wasn't specific enough. I did start with an unmodified version of the php. I still have it:
This is the first part where I would change the e-mail and so on:
$header = "header.html";
$footer = "footer.html";
$returnpage = "/";
$youremail = "firstname.lastname@example.org";
$csvfilename = "orders.csv";
$csvquote = "\"\"";
$mode = "EMAIL";
I have a header.html, footer.html and order.cvs in the same file. I do get both e-mail with this but have the same problem as many others.... no cart items. However, the e-mails do come from my e-mail and not my server. I originally installed the checkout.php, checkout.html and order.csv. I was very happy that I got the e-mails on the first try. If I remember correctly, not changing the $returnpage took me back to index.html (I think). Since I didn't get the cart items it really didn't do me any good so I looked around. I tried several posts that looked like they should work. I made changes to copies of the checkout.php and pointed the html to it but if I get the e-mail there is no cart info. In several of the attempts I didn't even get the e-mail.
The variables are passing to PayPal but not to e-mail. I have to be missing something! I think that I saw a post that would show what variables were passing in php but I didn't understand it. I will try to find it and see if that helps.
The reason that I posted under "FrontPage & NOPCart" is because I use FrontPage forms alot on three differnt sites and it is very easy. I just know that the post I linked above should work.