Hi, I'm trying to send some post data to another script but it somehow just wouldn't work but i do not get an error from the script, is there something wrong with my code? [code] //*********[POST to SF]*************** // file: send_post.php error_reporting(E_ALL & ~E_NOTICE); $eol = "\r\n"; $errno = 0; $errstr = ''; 'debug=1&debugEmail=xxx@example.xyz&oid=00D300000000RpC&retURL=""&first_name='.$_POST['firstname'].'&last_name='.$_POST['lastname'].'&company='.$_POST['company'].'&email='.$_POST['email'].'&phone='.$_POST['phone'].'&city='.$_POST['city'].'&state='.$_POST['state'].'&country='.$_POST['country'].'&00N30000000h5O9='.$_POST['besttime'].'&00N30000000gxzU='.$_POST['comments'].'&00N30000000h5OG='.$_POST['capital'].'&00N30000000h5OE='.$_POST['timeframe']; $fid = fsockopen('http://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8', 80, &$errno, &$errstr, 30); if ($fid) { fputs ($fid, "POST /post/show_post.php HTTP/1.1$eol"); fputs ($fid, "HOST: localhost$eol"); fputs ($fid, "Connection: close$eol"); fputs ($fid, "Content-Type: application/x-www-form-urlencoded$eol"); /* Use 'Content-Length' NOT 'Length' !*/ fputs ($fid, 'Content-Length: ' . strlen($data) . $eol); fputs ($fid, $eol); fputs ($fid, $data); fputs ($fid, $eol); fpassthru($fid); } //*********[/POST to SF]***************/ [/code] Thank you, every help is kindly appreciated!