discuss AT lists.opennicproject.org
Subject: Discuss mailing list
List archive
- From: nanashiRei <nanashi.rei AT gmail.com>
- To: discuss AT lists.opennicproject.org
- Subject: Re: [opennic-discuss] The website
- Date: Wed, 12 Dec 2012 00:31:23 +0100
- Organization: YaS-Online
This will only work as long as the PHP script is called from the Client
and not from the backend of WordPress, god knows how it's done.
Am 11.12.2012 22:28, schrieb Hunter 9999:
> 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
>
>
--
David "nanashiRei" Marner
Founder of YaS-Online.net
Service from Gamers, for Gamers.
PGP public key @ http://nanashirei.me/pgp
Commercial contact: nanashi.rei AT senshi.jp
Attachment:
signature.asc
Description: OpenPGP digital signature
- Re: [opennic-discuss] The website, (continued)
- Re: [opennic-discuss] The website, Peter Green, 12/16/2012
- Re: [opennic-discuss] The website, Julian DeMarchi, 12/19/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/12/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/12/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/11/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, nanashiRei, 12/12/2012
- Re: [opennic-discuss] The website, Aaron J. Angel, 12/12/2012
- Re: [opennic-discuss] The website, Hunter 9999, 12/12/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/11/2012
- Re: [opennic-discuss] The website, Hunter 9999, 12/11/2012
- Re: [opennic-discuss] The website, Hunter 9999, 12/12/2012
- Re: [opennic-discuss] The website, Peter Green, 12/12/2012
- Re: [opennic-discuss] The website, Hunter 9999, 12/12/2012
- Re: [opennic-discuss] The website, Peter Green, 12/05/2012
- Re: [opennic-discuss] The website, Brian Koontz, 12/05/2012
- Re: [opennic-discuss] The website, Jamyn Shanley, 12/05/2012
- Re: [opennic-discuss] The website, nanashiRei, 12/05/2012
- Re: [opennic-discuss] The website, Peter Green, 12/05/2012
- Re: [opennic-discuss] The website, Brian Koontz, 12/05/2012
Archive powered by MHonArc 2.6.19.