Re: Problems sending $_POST vairable to an ASP page

From: Date: Thu, 28 Aug 2008 21:22:04 +0000
Subject: Re: Problems sending $_POST vairable to an ASP page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-278924@lists.php.net to get a copy of this message
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@hotmail.com>: > 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/

« previous php.general (#278924) next »