> From: Juan Rodriguez Monti
> > Sent: 16. cervna 2010 20:26
> > To: php-general@lists.php.net
> > Subject: [PHP] User's IP Validation
> >
> > Hi people,
> > I would like to know the best way to perform some
> David
>
> Sent from my HTC
>
> -Original Message-
> From: Juan Rodriguez Monti
> Sent: 16. cervna 2010 20:26
> To: php-general@lists.php.net
> Subject: [PHP] User's IP Validation
>
> Hi people,
> I would like to know the best way to perform some kind of v
HTC
>
> -Original Message-
> From: Juan Rodriguez Monti
> Sent: 16. cervna 2010 20:26
> To: php-general@lists.php.net
> Subject: [PHP] User's IP Validation
>
> Hi people,
> I would like to know the best way to perform some kind of validation
> for an applicatio
hp-general@lists.php.net
Subject: [PHP] User's IP Validation
Hi people,
I would like to know the best way to perform some kind of validation
for an application that I've written.
I have a system that ask through an HTML Form some questions to users.
I use some cookies to save some informatio
Rodriguez Monti [mailto:j...@rodriguezmonti.com.ar]
Sent: Wednesday, June 16, 2010 2:26 PM
To: php-general@lists.php.net
Subject: [PHP] User's IP Validation
Hi people,
I would like to know the best way to perform some kind of validation
for an application that I've written.
I have a system
Hi people,
I would like to know the best way to perform some kind of validation
for an application that I've written.
I have a system that ask through an HTML Form some questions to users.
I use some cookies to save some information from the user side.
However, I would like to implement some code
On Thu, 21 Mar 2002, Maris Kalnins wrote:
> Is there any possibility to get PHP page viewer's ip address..
> for example
>
> $addr=some_function_that_returns_viewer's_address()
$REMOTE_ADDR
You might want to play with phpinfo() - it tells you a lot.
miguel
--
PHP General Mailing List (http:
Hi!
Is there any possibility to get PHP page viewer's ip address..
for example
$addr=some_function_that_returns_viewer's_address()
or something like that?
Thanks,
Maris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7 Aug 01, at 14:02, René Moonen wrote:
> The problem is that REMOTE_ADDR returns the IP address of the proxy (if
> if(getenv(HTTP_X_FORWARDED_FOR))
> {
> $ip=getenv(HTTP_X_FORWARDED_FOR);
> }
> else
> {
> $ip=getenv(REMOTE_ADDR);
> }
> $host = gethostbyaddr($ip);
except, perhaps, when th
On Wed, Aug 08, 2001 at 12:45:32PM +1000, Chris Birmingham wrote:
> I would use
>
> $HTTP_SERVER_VARS["REMOTE_ADDR"]
> or
> $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]
>
> to return the IP address..
>
> I have seen, people using if($ip == $REMOTE_ADDR) { // do whatever }
> but in some configurat
On Wed, Aug 08, 2001 at 12:52:42AM +0100, Andreas D. Landmark wrote:
> 1) proxies should cache dynamic content
> 2) proxies should not retrieve from cache if the request is a force-refresh
> 3) proxies should not cache any content which URL includes "?"
>
> Sounds like you've got yourself a poor
On Tue, 7 Aug 2001, Renze Munnik wrote:
> On Tue, Aug 07, 2001 at 03:55:25PM +0530, Adrian D'Costa wrote:
> > Hi,
> >
> > I am trying to get the ip address of any user browsing a particular page.
> >
> > I tried $REMOTE_ADDR but that give me only the remote address. What would
> > be the best
ay, 7 August 2001 10:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [Re: [PHP] user's ip]
On Tue, Aug 07, 2001 at 02:01:04PM +0200, René Moonen wrote:
> The problem is that REMOTE_ADDR returns the IP address of the
> proxy (if the user
> accesses the web-page via a proxy. This will allway
At 07.08.2001 13:06, Renze Munnik wrote:
>Ahh see, that wasn't clear in the question. Yeah... that's true.
>Pain in the ass those proxies. They're also realy useful while
>testing your (dynamic) site. NOT!!! "Hey, what's this? I thought I'd
>realy changed that error. How's this possible?", "Di
Hello Adrian,
Tuesday, August 07, 2001, 12:25:25 PM, you wrote:
ADC> Hi,
ADC> I am trying to get the ip address of any user browsing a particular page.
ADC> I tried $REMOTE_ADDR but that give me only the remote address. What would
ADC> be the best way?
When you recieve a remote_host_name you
On Tue, Aug 07, 2001 at 02:01:04PM +0200, René Moonen wrote:
> The problem is that REMOTE_ADDR returns the IP address of the
> proxy (if the user
> accesses the web-page via a proxy. This will allways return the IP
> address of
> the user's machine:
>
> if(getenv(HTTP_X_FORWARDED_FOR))
> {
> $ip
The problem is that REMOTE_ADDR returns the IP address of the proxy (if
the user
accesses the web-page via a proxy. This will allways return the IP
address of
the user's machine:
if(getenv(HTTP_X_FORWARDED_FOR))
{
$ip=getenv(HTTP_X_FORWARDED_FOR);
}
else
{
$ip=getenv(REMOTE_ADDR);
}
$host = g
--Original Message-
From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2001 11:25
To: php general list
Subject: [PHP] user's ip
Hi,
I am trying to get the ip address of any user browsing a particular page.
I tried $REMOTE_ADDR but that give me only the remote address
On Tue, Aug 07, 2001 at 03:55:25PM +0530, Adrian D'Costa wrote:
> Hi,
>
> I am trying to get the ip address of any user browsing a particular page.
>
> I tried $REMOTE_ADDR but that give me only the remote address. What would
> be the best way?
>
> Adrian
Okay... Help me out here...
You want
Hi,
I am trying to get the ip address of any user browsing a particular page.
I tried $REMOTE_ADDR but that give me only the remote address. What would
be the best way?
Adrian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
20 matches
Mail list logo