cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Q: about the server ip

From: humen1 <humen1_at_gmail.com>
Date: Thu, 27 Dec 2012 18:17:24 +0800

gethostbyname("example.com <http://example.com>"); ?? workd fine !!

? 2012/12/27 17:36, Jan Fedemo ??:
> Thank you very much for your answer, now I know how to solve the
> problem, I greet the Polish.
>
>
> 2012/12/27 shiplu <shiplu.net_at_gmail.com <mailto:shiplu.net_at_gmail.com>>
>
> If you want to get the IP of the client who requested your php
> page use $_SERVER['REMOTE_ADDR'].
>
> To get the IP of the server you are sending curl request use
> gethostbyname() function as gethostbyname("example.com
> <http://example.com>");
>
>
>
>
> On Thu, Dec 27, 2012 at 11:04 AM, seven <humen1_at_gmail.com
> <mailto:humen1_at_gmail.com>> wrote:
>
> how can i get the remote server ip address??
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
>
>
>
> --
> Shiplu.Mokadd.im <http://Shiplu.Mokadd.im>
> ImgSign.com | A dynamic signature machine
> Innovation distinguishes between follower and leader
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
>
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2012-12-27