PHRets: Using PHP to download real estate listing photos

前端 未结 2 662
花落未央
花落未央 2021-01-20 14:54

Am a trying to create a PHP (PHrets) script that downloads all real estate listing information from a specific area and saves all of the listings data (CSV file and photos)

2条回答
  •  不知归路
    2021-01-20 15:56

    What if the last parameter of GetObject is "0" :

    $photos = $rets->GetObject("Property", "Photo", $record[$fo], "*", 1);

    in this case "1" is for retreiving the location. some servers this is switched off and return the actual image I believe - that would require a different method.

提交回复
热议问题