$_SERVER['REMOTE_ADDR']
$HTTP_SERVER_VARS['REMOTE_ADDR']
= what you want :P
-Original Message-
From: Randall Perry [mailto:[EMAIL PROTECTED]
Sent: Wednesday 29 October 2003 15:54
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] $HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"] returns no
On Monday 22 July 2002 13:46, Monty wrote:
> I'm trying to access some settings in the $HTTP_SERVER_VARS[] array, but,
> within a custom function() this array appears empty. In the calling script,
> however, the $HTTP_SERVER_VARS[] array is defined.
>
> I thought this was supposed to be "superglob
> My last guess, was to turn off my Firewall (*Norton* Personal Firewall)
> and after that my PC returned a correct HTTP_REFERER!
Exactly what I did. Funky, huh?
Thanks,
Kyle Gibson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kyle,
Here's a quote I found on Usenet:
http://groups.google.com/groups?selm=aec2ace8.0204180402.4c562696%40posting.google.com&output=gplain
--- paste ---
I think I found out what this HTTP_WEFERER is all about...
I was working on a perl script having this problem. Some PCs (Client)
running that
Whoops. It wont show unless you come from somewhere else...
Go here and click the link:
http://www.plaguenet.com/wreferer.php
Thanks,
Kyle Gibson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Have you tried looking at a phpinfo() page and seeing what variables are
> available?
>
> Make a page with just the following line in it and load it up through
> your web server.
>
>
Yes. That is how I know of WREFERER. Do you know what it is?
If you want, you can look at my phpinfo page h
Have you tried looking at a phpinfo() page and seeing what variables are
available?
Make a page with just the following line in it and load it up through
your web server.
---John Holmes...
> -Original Message-
> From: Kyle Gibson [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 04, 20
Teo -
Many, many thanks!!! That will do it.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
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
Hi Todd!
On Mon, 22 Jan 2001, Todd Cary wrote:
> Teo -
>
> That works great for Apache but not for my ISAPI installation that is
> using IIS on a Win 2K platform. Is there a way to tell if I am using an
> ISAPI server or not? Otherwise I will put that in my parameter file.
>
Yap, I think it's
Teo -
That works great for Apache but not for my ISAPI installation that is
using IIS on a Win 2K platform. Is there a way to tell if I am using an
ISAPI server or not? Otherwise I will put that in my parameter file.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Maili
Hi Todd!
On Mon, 22 Jan 2001, Todd Cary wrote:
> Rasmus -
>
> I am running Apache on my notebook so that I can do some development
> while I am "on-the-road". My code needs to obtain the URL and SERVER
> and I do this with $HTTP_SERVER_VARS. However, under Apache (I use IIS
> on the Win 2K ser
Ramus -
I discovered the problem, but not the solution:
When I am using IIS, the HTTP info is in $HTTP_SERVER_VARS; when I am
using Apache in the Win32, DOS window environment, the HTTP info is in
$HTTP_ENV_VARS.
Now the question is how do I determine which HTTP server I am using so I
can query
Rasmus -
I am running Apache on my notebook so that I can do some development
while I am "on-the-road". My code needs to obtain the URL and SERVER
and I do this with $HTTP_SERVER_VARS. However, under Apache (I use IIS
on the Win 2K server and $HTTP_SERVER_VARS contains many items) I am
only get
He is on windows 98...
- Original Message -
From: Rasmus Lerdorf <[EMAIL PROTECTED]>
To: Todd Cary <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 1:42 PM
Subject: Re: [PHP] $HTTP_SERVER_VARS has only 1 value
Are you running PHP as a CG
Are you running PHP as a CGI?
On Mon, 22 Jan 2001, Todd Cary wrote:
> With Apache, $HTTP_SERVER_VARS only has the element, "PHP_SELF". What
> am I missing in my Apache setup?
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> [EMAIL PROTECTED]
>
>
>
> --
> PHP General Mailing List (http://www.php.
15 matches
Mail list logo