Re: [PHP] Browsers on terminal server

2004-08-05 Thread John W. Holmes
From: "Lester Caine" <[EMAIL PROTECTED]>
> I am using
> $_SERVER["REMOTE_ADDR"]
> to get address of the browser accessing the system and then using
> gethostbyaddr() to get the machine name.
>
> This worked great until I came to a site using M$ Terminal Server to
> provide the terminals. We still need to know what machine we are talking
> to, so we can identify the room, and flag the correct set of displays,
> but $_SERVER["REMOTE_ADDR"] seems to be giving only the IP address of
> the TS machine.
>
> Anybody been here already. Is it possible to identify the terminal that
> is browsing on the other side of TS. Any pointers to some help to
> restore operation in this situation.

I really doubt it. I'd recommend searching MSDN for some answers. If it was
available to PHP, you'd see it on a phpinfo() screen or somewhere in
$_SERVER, but I doubt it is.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Browsers on terminal server

2004-08-05 Thread Lester Caine
I am using
$_SERVER["REMOTE_ADDR"]
to get address of the browser accessing the system and then using
gethostbyaddr() to get the machine name.
This worked great until I came to a site using M$ Terminal Server to 
provide the terminals. We still need to know what machine we are talking 
to, so we can identify the room, and flag the correct set of displays, 
but $_SERVER["REMOTE_ADDR"] seems to be giving only the IP address of 
the TS machine.

Anybody been here already. Is it possible to identify the terminal that 
is browsing on the other side of TS. Any pointers to some help to 
restore operation in this situation.

--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Browsers...

2001-12-27 Thread Jesus Maria Bianco T.

Hello, World :-)

I've been using the PHP_AUTH_USER and PHP_AUTH_PW, in some scripts, I've had some 
problems with it in somes Browsers. I tested with a "phpinfo()" function and the 
browsers with the problems doesn't appear PHP_AUTH_USER and PHP_AUTH_PW with the 
respective values. It's like PHP_AUTH_USER and PHP_AUTH_PW doesn't exist.

The Script is in a Server (RedHat Box 6.2) with PHP 4.0.4.

The script work fine on Macintosh (IE 5.0) and in a NT 4 (IE 5.5) and in Macintosh 
(Netscape Communicator 4).

The script doesn't WORK fine on Win Me (IE 5.5), Mac (Netscape Navigator 4.76).

It's very rare because sometimes in the Windows ME (IE 5.5) works fine, and sometimes 
is not. I've checked the script and play around with it, I think that there's an 
important problem with the PHP_AUTH_USER is somes browsers that can't see the 
PHP_AUTH_USER and his value.

I've tested the REMOTE_USER and it have the value of PHP_AUTH_USER, but I don't know 
for how many time will be support the REMOTE_USER, it doesn't appear in the  
"phpinfo()" display.

Thanks a lot for your time.

-- 

__
Jesus Maria Bianco Troconis (yisu)

E-MAIL mailto:[EMAIL PROTECTED]
ICQ4792036 / nickname yisu
WEBhttp://yisu.net

 Telefono/Phone  +58 (414) 3042346
 (Ciudad/City) Caracas, Venezuela

  Mac, PHP & MySQL Rulez.
They Kick some ass!
__


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
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]




[PHP] Browsers anachy !!!!!!!!!!!!

2001-05-02 Thread Sebastien Roy

Hi all,

I'm having a strange problem. I volontary create an infinite loop in one
of my PHP script. I was just wondering how Apache and PHP will react and
if the "max_execution_time" directive would trap the loop. I was
agreably suprised to see that the opera browser give me an error message
"Fatal error: Maximun execution time of 5 seconds exceeded in ". The
same occured with MS explorer and Mozilla. But, with Netscape, there is
nothing to do. It loops forever and I add to restart my linux box
($%^!$) witch is something I almost never do.  I really hate that
browser, but I must deal with it...

Is there something particular I have to do to avoid this problem with
the Netscape browser?



Regards,

Sebastien Roy
[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 PROTECTED]