I don't understand :)
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John W. Holmes wrote:
> > Trust me.
>
> Riggtt. Like we're going to trust the likes of you.
> I guess the cheque's in the mail too, eh? ;)
>
> --
> By-Tor.com
> It's all abou
Ok - thie is enought for me - to see the adres of proxy server. :)
"Tim Van Wassenhove" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>, Rosen wrote:
> >:)
> > Ok - then how linux server communicate with client - the server must
have IP
> > adress to wh
In article <[EMAIL PROTECTED]>, Rosen wrote:
>:)
> Ok - then how linux server communicate with client - the server must have IP
> adress to whitch to send data.
>> Rosen wrote:
>>
>> > IP adress not send ?!? And how server communicate with client ?
For example people on a lan (with let's say
John W. Holmes wrote:
Trust me.
Riggtt. Like we're going to trust the likes of you.
I guess the cheque's in the mail too, eh? ;)
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
Rosen wrote:
Ok,
I don't understand why IP adress will bi "invisible" for $_SERVER variable.
It should be there, but mostly because the CGI 1.1 spec requires that it
be provided to the script. There is no physical requirement for it to be
there.
Reasons for it not being present could include:
o Inc
On Thursday 08 July 2004 07:17, Rosen wrote:
>
> Ok - then how linux server communicate with client - the server must have
> IP adress to whitch to send data.
Look some form of IP *will* be set and *will* be available in $_SERVER. What
you was using in your original post has been deprecated
John W. Holmes wrote:
>> IP adress not send ?!? And how server communicate with client ?
>
> A variety of ways. What I meant is that it's not sent in the browser's
> headers that it sends to the site, which is where getenv() and
> $_SERVER[] would snatch it from.
Correct me if I'm wrong, but shoul
Ok,
I don't understand why IP adress will bi "invisible" for $_SERVER variable.
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Rosen wrote:
>
> > Can I get just adress of the IP, with which the server communicates ?
>
> If you don't see the IP address somewhere in t
Rosen wrote:
Can I get just adress of the IP, with which the server communicates ?
If you don't see the IP address somewhere in the $_SERVER variable, then NO.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phpa
Thanks,
This for the users, thath come from one IP adress - I know about it, but,
Can I get just adress of the IP, with which the server communicates ?
"Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Rosen wrote:
>
> > IP adress not send ?!? And how server communi
Rosen wrote:
IP adress not send ?!? And how server communicate with client ?
[snip]
The httpd server might know the remote IP address, but that doesn't
mean that it has to tell PHP about it. The SAPI module may or may not
set the value, for instance.
Even if you could rely on the IP address, in man
I've used this function before a couple of times, but I haven't tested
it fully. Give it a go if you want.
/*** BEGIN CODE ***/
// Function get_ip
function get_ip()
{
// List of possible ip sources, in order of priority
$ip_sources = array
(
"HTTP_X_FORWARDED_FOR",
"HT
:)
Ok - then how linux server communicate with client - the server must have IP
adress to whitch to send data.
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Rosen wrote:
>
> > IP adress not send ?!? And how server communicate with client ?
>
> A variety of ways
Rosen wrote:
IP adress not send ?!? And how server communicate with client ?
A variety of ways. What I meant is that it's not sent in the browser's
headers that it sends to the site, which is where getenv() and
$_SERVER[] would snatch it from.
Do not rely on IP addresses. Trust me.
--
---John Ho
IP adress not send ?!? And how server communicate with client ?
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matthew Sims wrote:
>
> >>Hi,
> >>How can I get remote IP adress of client?
> >>I use the fillow script::
> >>
> >>$ip=getenv('HTTP_X_FORWARDED_FOR');
> >>
Matthew Sims wrote:
Hi,
How can I get remote IP adress of client?
I use the fillow script::
$ip=getenv('HTTP_X_FORWARDED_FOR');
if (!$ip)
{
$ip = getenv('REMOTE_ADDR');
}
But sometime it return me "unknown" sa IP adress.
Can someone help me ?
Thanks in advance!
$_SERVER["REMOTE_ADDR"]
Either metho
> Hi,
> How can I get remote IP adress of client?
> I use the fillow script::
>
> $ip=getenv('HTTP_X_FORWARDED_FOR');
> if (!$ip)
> {
> $ip = getenv('REMOTE_ADDR');
> }
>
>
> But sometime it return me "unknown" sa IP adress.
>
> Can someone help me ?
>
> Thanks in advance!
$_SERVER["REMOTE_ADDR"]
Hi,
How can I get remote IP adress of client?
I use the fillow script::
$ip=getenv('HTTP_X_FORWARDED_FOR');
if (!$ip)
{
$ip = getenv('REMOTE_ADDR');
}
But sometime it return me "unknown" sa IP adress.
Can someone help me ?
Thanks in advance!
--
PHP General Mailing List (http://www.php.net/)
At 21:16 21.11.2002, Ron Smith said:
[snip]
>I know this is probably easily solved, but I'm trying to locate the PHP
>function which returns the client's IP address when they request a page
>from the server. I'm having no luck searching the php.net function
--- Chris Shiflett <[EMAIL PROTECTED]> wrote:
> It's not a function, merely a variable.
>
> $REMOTE_ADDR
Actually, $_SERVER["REMOTE_ADDR"] is better, as another poster
suggested.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
It's not a function, merely a variable.
$REMOTE_ADDR
Chris
--- Ron Smith <[EMAIL PROTECTED]> wrote:
> I know this is probably easily solved, but I'm trying to locate
> the PHP function which returns the client's IP address when they
> request a page from the server.
--
PHP General Mailing List
It's not a function, it's a variable:
$_SERVER["REMOTE_ADDR"];
- Original Message -
From: "Ron Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 3:16 PM
Subject: [PHP] Client IP address
> I know this
I know this is probably easily solved, but I'm trying to locate the PHP
function which returns the client's IP address when they request a page
from the server. I'm having no luck searching the php.net function list.
Kindest regards,
Ron
"Yes, they were dinking with the DNS last weekend, a
$REMOTE_ADDR
PHP Manual, Predefined variables
On Tue, 27 Nov 2001, narko wrote:
> Hi all
>
> How can i get client IP address
>
> thanks,
> Narko
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all
How can i get client IP address
thanks,
Narko
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
25 matches
Mail list logo