discuss AT lists.opennicproject.org
Subject: Discuss mailing list
List archive
- From: Hunter 9999 <mail AT hunter-9999.de>
- To: "discuss AT lists.opennicproject.org" <discuss AT lists.opennicproject.org>
- Subject: Re: [opennic-discuss] The website
- Date: Tue, 11 Dec 2012 22:28:14 +0100
Am 10.12.2012 um 03:30 schrieb nanashiRei <nanashi.rei AT gmail.com>:
> Your Server is calling the script, internally, so yes. It can't even
> know there is a client. You would have to use an <iframe> to be
> perfectly transparent.
Not really.
You can get the Client-IP by:
$_SERVER['REMOTE_ADDR'];
Then you can grab the Script with the IP in the URL.
Only add
$ip = $_SERVER['REMOTE_ADDR'];
before $ch = curl_init();
Here an working example:
http://test.hunter-9999.de/geoip
Here the modified Source:
http://test.hunter-9999.de/geoip/source
--
Daniel Jäger
- Re: [opennic-discuss] The website, (continued)
- Re: [opennic-discuss] The website, Alex Hanselka, 12/11/2012
- Re: [opennic-discuss] The website, Quinn Wood, 12/11/2012
- Re: [opennic-discuss] The website, Peter Green, 12/12/2012
- Re: [opennic-discuss] The website, Aaron J. Angel, 12/12/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/12/2012
- Re: [opennic-discuss] The website, Quinn Wood, 12/12/2012
- Re: [opennic-discuss] The website, Richard Lyons, 12/12/2012
- Re: [opennic-discuss] The website, Mike Skelly, 12/09/2012
- Re: [opennic-discuss] The website, Peter Green, 12/09/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/09/2012
- Re: [opennic-discuss] The website, Hunter 9999, 12/11/2012
- Re: [opennic-discuss] The website, Peter Green, 12/11/2012
- Re: [opennic-discuss] The website, Quinn Wood, 12/11/2012
- Re: [opennic-discuss] The website, Peter Green, 12/11/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/11/2012
- Re: [opennic-discuss] The website, Peter Green, 12/12/2012
- Re: [opennic-discuss] The website, Hunter 9999, 12/11/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/11/2012
- Re: [opennic-discuss] The website, Quinn Wood, 12/11/2012
- Re: [opennic-discuss] The website, Peter Green, 12/11/2012
- Re: [opennic-discuss] The website, Quinn Wood, 12/11/2012
Archive powered by MHonArc 2.6.19.