okay i did this and started curl.
Now i executed this code 1st script:
<?php
//
// A very simple PHP example that sends a HTTP POST to a remote site
//
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"http://127.0.0.1:8080/curltesting.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,"usname=brij&password=brijguru");
curl_exec ($ch);
curl_close ($ch);
?>
I got blank page as output .
in curltesting.php the following codes were written :
<?php
$usname=$POST['usname'];
$password=$POST['password'];
echo $usname ." ". $password;
?>
So what do u suppose , what did the 1st script did?