Jump to content


  • Content Count

  • Joined

  • Last visited

  • Feedback


1 Follower

About vishnusr

  • Rank
    Bit Member

Profile Information

  • Expertise
  1. No yet i didnt get output.. i cant access login page..
  2. curl_setopt($ch,CURLOPT_URL,'https://www.nmddata.com.au/members/search_adv_do.php?state=New+South+Wales&orderby=suburb&updown=asc');
  3. Hi Frined, am new for curl. here i will scrap datas using curl in normal website.. but i need to scrap an login website url. for example :- https://www.nmddata.com.au this url has login access i need to scrap further following url as to save as html. https://www.nmddata.com.au/members/search_adv_do.php?state=New+South+Wales&region=&bed=&cat=&pricemin=&pricemax=&orderby=date&updown=desc&submit=Sort i have try this following code :- <?php $name_val = urlencode('mani'); $password_val = urlencode('roshan'); $region_val = urlencode('Sydney City'); $sector_val = urlencode('Residential'); //$message_val = urlencode('This is a test & = +'); $str= "Name=".$name_val."&Password=".$password_val."Region=".$region_val."Sector=".$sector_val; //print $str; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_USERPWD, "mani:roshan"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // no verify curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $str); $data = curl_exec($ch); curl_close($ch); file_put_contents('testurl.html',$data); echo"<h3>Data Saved Successfully</h3>"; //echo $data; ?> But i cant get login access data.. it shows as join now link. if possiable please suggest me
  • Create New...