I found a solution using curl and creating a google spreadsheet form. For the prepared table, you need to create a form without options: Require login to view this form and Automatically collect the responder username. Then check, using fe firebug, the post uri form and post data and use it for the following script:
#prepare post data $fields = array('backupCache' => '', 'entry.0.single'=>urlencode($data['name']), 'entry.1.single'=>urlencode($data['surname']), 'pageNumber'=>urlencode(0), 'submit'=>'Submit'); $fields_string = ''; foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string,"& "); $fields_string = substr($fields_string, 0, strlen($fields_string)-1); $ch = curl_init();
It may not be the perfect solution, but it works. :)
source share