Filter löschen
Filter löschen

HOW TO RETRIEVE A VISITOR'S IP ADDRESS

5 Ansichten (letzte 30 Tage)
mohammad ibrahim
mohammad ibrahim am 1 Aug. 2021
Bearbeitet: mohammad ibrahim am 1 Aug. 2021
How can I retrieve the IP address of visitors to my web app using MATLAB ?
for example in .NET, we can use:
public string IpAddress()
{ string strIpAddress; strIpAddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (strIpAddress == null)
{ strIpAddress = Request.ServerVariables["REMOTE_ADDR"]; }
return strIpAddress; }
thank you

Antworten (0)

Kategorien

Mehr zu Call Web Services from MATLAB Using HTTP finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by