开发者

Is it possible to get the url of the customer who uses our Web Service SOAP

开发者 https://www.devze.com 2023-01-04 23:43 出处:网络
I\'m new to SOAP, I work with PHP5 and I got my wsdl file with some functions in my .php file. I\'m wondering if I can get the url from the customer who uses my We开发者_运维知识库b Service. I want to

I'm new to SOAP, I work with PHP5 and I got my wsdl file with some functions in my .php file. I'm wondering if I can get the url from the customer who uses my We开发者_运维知识库b Service. I want to validate the url in a php function server-side.


In your server you can try to get $_SERVER['REMOTE_ADDR'] or $_SERVER['HTTP_REFERER'] but i'm not sure if it will help you a lot.

Like Bruno said, sometimes your client don't comes from a webpage.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号