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.
精彩评论