LastRequestURL ( )
Returns the full URL of the last remote request made. Gives a glimpse into what PHRETS is doing
$fields = $rets->GetMetadataTable("Property", "RES");
$last_url = $rets->LastRequestURL();
echo "+ Last URL: {$last_url}\n";+ Last URL: http://demo.crt.realtors.org:6103/rets/getMetadata?Type=METADATA-TABLE&ID=Property%3ARES&Format=STANDARD-XML