Included Request

This plugin allows inclusion of an amfPHP entry point script. This is so that a script running on the same server can
include the entry point script and execute a request. Its a bit experimental, but has proved useful.

globals are:
$amfphpIncludedRequestServiceName
$amfphpIncludedRequestMethodName
$amfphpIncludedRequestParameters
$amfphpIncludedRequestReturnValue

declare and them before including your entry point script. For example:

$amfphpIncludedRequestServiceName = "DiscoveryService";
$amfphpIncludedRequestMethodName = "collect";
$amfphpIncludedRequestParameters = array();
$amfphpIncludedRequestReturnValue = null;
require(dirname(__FILE__) . '/../../Amfphp/index.php');
print_r($amfphpIncludedRequestReturnValue);

Add a comment

You must be logged in to comment.