RE: How know abt client in server??
"Rob Dolin" <[email protected]>
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <025701c69d0c$445cf930$0202fea9@rdolin3> |
Hi Nishat,
If you're using ASP.net, you can use the UserHostAddress property of the
HttpRequest class:
http://msdn2.microsoft.com/en-us/library/system.web.httprequest.userhostaddr
ess.aspx
In PHP, I think you can use REMOTE_ADDR or and HTTP_X_FORWARDED_FOR
someone with more PHP experience should confirm.
'Hope this helps--
--Rob
(http://blog.robdolin.com)
P.S. You can also see the MSDN information in another language by changing
"en-us" to another language-locale code like:
Spanish:
http://msdn2.microsoft.com/es-es/library/system.web.httprequest.userhostaddr
ess.aspx
Chinese (simplified):
http://msdn2.microsoft.com/zh-cn/library/system.web.httprequest.userhostaddr
ess.aspx
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
coolnishant83
Sent: Saturday, July 01, 2006 2:54 AM
To: [email protected]
Subject: [xml-rpc] How know abt client in server??
Hi all,
Im new to this comunity and xmlrpc, i need some help in developing a
server based on xmlrpc.
Problem:
I need to execute a registered method (of registry) only if particular
IP address requests for it. Putting it another way, How will I come to
know abt the address of Client in Server ??
Ur help is greatly appriciated.
thanks & regards
Nishant Kumar
Yahoo! Groups Links
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/