LastRequestURL

From PHRETS


Syntax

LastRequestURL ( )

Returns the full URL of the last remote request made. Gives a glimpse into what PHRETS is doing


Parameters

None


Return Values

String
Returns the full URL as it is passed to cURL


Examples

$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


Related to

Views
Personal tools