RE: [PHP] $HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"] returns no value

2003-10-29 Thread Wouter van Vliet
$_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

[PHP] HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Cirstoiu Aurel Sorin
I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null. Is there an option so I can turn it on? Please help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $HTTP_SERVER_VARS not accessible in Functions

2002-07-22 Thread Jason Wong
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

[PHP] $HTTP_SERVER_VARS not accessible in Functions

2002-07-21 Thread Monty
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 "superglobal" and available on every level? If not, is there a

Re: [PHP] $HTTP_SERVER_VARS

2002-05-05 Thread Kyle Gibson
> 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

Re: [PHP] $HTTP_SERVER_VARS

2002-05-05 Thread Mike Gohlke
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

Re: [PHP] $HTTP_SERVER_VARS

2002-05-04 Thread Kyle Gibson
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

Re: [PHP] $HTTP_SERVER_VARS

2002-05-04 Thread Kyle Gibson
> 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

RE: [PHP] $HTTP_SERVER_VARS

2002-05-04 Thread John Holmes
y, May 04, 2002 3:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP] $HTTP_SERVER_VARS > > Heya folks, > > I've got a little problem here, maybe you can help me out. > > $HTTP_SERVER_VARS["HTTP_REFERER"] is supposed to point to the referring > webpag

[PHP] $HTTP_SERVER_VARS

2002-05-04 Thread Kyle Gibson
Heya folks, I've got a little problem here, maybe you can help me out. $HTTP_SERVER_VARS["HTTP_REFERER"] is supposed to point to the referring webpage, if it exists. As is $_SERVER["HTTP_REFERER"] and $HTTP_REFERER itself. However, it seems that I do not have this variable available on my se

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Teodor Cimpoesu
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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Teodor Cimpoesu
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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Romulo Roberto Pereira
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

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Rasmus Lerdorf
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.

[PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
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.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT