php - How to enforce API calls are coming from authorized site -


what need (what request parameter) need check make sure calling api indeed domain associated key, , key isn't being used on multiple domains?

$_server 'remote_addr' or 'remote_host'

$ip   = $_server['remote_addr']; $host = $_server['remote_host']; 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -