Skip to content
Troy Davisson edited this page Mar 5, 2016 · 2 revisions

Note: This page documents capabilities available in the older 1.x version. Please see this repository's README file for the new 2.x version documentation.

LastRequestURL

LastRequestURL ( )

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

Parameters

None

Return Value

String

Returns the full URL as it is passed to cURL

Usage Examples
<?php
$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

GetLoginURL