i'm stuck here
trying to do something like this:
$guy = array("hot_chick1", "hot_chick2", "hot_chick3");
foreach($guy as $it){
define('POSTURL', 'http://www.something.com/bla.php');
define('POSTVARS', 'doit=true&dam=$it');
$ch = curl_init(POSTURL);
curl_setopt($ch, CURLOPT_POST ,1);
curl_setopt($ch, CURLOPT_POSTFIELDS ,POSTVARS.$stuck);
curl_setopt($ch, CURLOPT_POSTFIELDS ,POSTVARS.$it);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1);
curl_setopt($ch, CURLOPT_HEADER ,0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER ,1);
$Rec_Data = curl_exec($ch);
echo $Rec_data;
}
this works fine but i need to make a loop so each "pass" POSTURL would be POSTURL1, then POSTURL2 etc...
how can i make this. if it is possible...