IIRC ASP cant recive PHP $_POST variables but it can recive HTML post from forms. If you want to send variables to another language. You can try via a get variable. Dont know if the items you want to send are safe to send over though. Ólafur Waage 2008/8/28 shaun thornburgh <shaunthornburgh@xxxxxxxxxxx>: > Hi guys, > I need to send post variables to an ASP page. I have the following code which isn't producing any errors but isn't working either: > > foreach($_POST['newsletter-group'] as $key => $value){ $_POST['addressbookid'] = $value; $out = "POST /signup.ashx"; $fp = fsockopen("dmtrk.net", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { fputs($fp, $out . "\r\n"); } fclose($fp); } > > Can anyone tell me what I am doing wrong please? > _________________________________________________________________ > Get Hotmail on your mobile from Vodafone > http://clk.atdmt.com/UKM/go/107571435/direct/01/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php