I'm trying to write form values to a CSV file AFTER I have validated an email address using a crude form of Double Opt in;
I'm using a modified version of code shown here:

Everything works except I can't capture the form values except the email address.

There's a section where it says
// add the email to your double opt-in list here

After that, I've tried to get the values to post to the CSV file, but I only get the email value. The other form fields dont get posted.

I've tried POST & REQUEST to get the posted variables.
Neither one seems to work.

If I create a separate php file at the end, everything gets posted correctly, but I only want to post the emails that have been validated.

Any ideas welcome.