I have embeded a Google Doc Form into my website. I have added a field for attaching a file. By default I have
form action="https://spreadsheets.google.com/formResponse?formkey=..." method="post"
I want to make it so form action="submit.php"
That way, in the php file, I can add the code to save the uploaded file on to the server. But how do I handle the google doc part? Basically, what's a PHP representation of form action="https://spreadsheets.google.com/formResponse?formkey=..."
One more thing. Since I have a file input, do I need to add this to the form html: ENCTYPE='multipart/formdata' ? Would that mess up the Google doc form submission? Or anyone have a better way of including attach file field in my form to save the file on the server and send all the other fields to my google doc form spreadsheet?