Command: Custom Script

This api command execute a custom php script on server and returns the results.

Command:

API Command Name: custom_script

Required Parameters:

script This will be the name of php script, Say5 looks for this script in api-sys folder, Default location of that folder is /usr/local/say5/dcroot/api-sys

Optional Parameters:

All additional parameters will be passed to custom script and can be checked in $API_REQUEST array

Sample request to send to Say5 api:

$request  = 'command=custom_script&param1=abc&param2=444&myparam=testdomain.com';
 
 
Copyright 2007-2019 Say5 Inc.