[snip]
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?
[/snip]
http://www.php.net/curl
there was just a thread on this within the past week.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php