<?php
$Zurl = "http://www.zillow.com/webservice/GetDeepSearchResults.htm?zws-id=X1-ZWz1b6ggncyqyz_7galu&address=2114+Bigelow+Avenue&citystatezip=Seattle%2C+WA"
/** Get Data */
$ch = curl_init();
curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $Zurl);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
$ZillowData = curl_exec($ch);
curl_close($ch);
//Process Response
$ZData = simplexml_load_file($ZillowData);
print_r($ZData);
- Output for 5.4.0 - 5.4.30
- Parse error: syntax error, unexpected '$ch' (T_VARIABLE) in /in/jWr7m on line 5
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_VARIABLE in /in/jWr7m on line 5
Process exited with code 255.
preferences:
190.31 ms | 1395 KiB | 67 Q