php4-beta | 199912
Date: 12/13/99
- Next message: rubys <email protected>: "Re: [PHP4BETA] Re: Is their a module to use CORABA with PHP"
- Previous message: Stuart Harris: "[PHP4BETA] Multi-line output from an exec().."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I want to get header information from client, but ....
I've got info with pfpinfo(), but none of Server Variables is working.
Works only Server Variables under ALL_HTTP
I'm using:
PHP 4b3,
IIS 4.0 on WinNT
Thanx,
Andris
-----Original Message-----
From: Stanislav Malyshev [mailto:stas <email protected>]
Sent: Monday, December 13, 1999 2:10 PM
To: Andris Jancevskis
Cc: php3 <email protected>
Subject: Re: [PHP3] Headers hrom client
AJ>> How to get Header info from client?
AJ>> I found only how to send ....
AJ>>
AJ>> I'm interesting in IP, Host name etc.
if you do <?php phpinfo() ?> you'll get a list of variables, which are
available to PHP script. HTTP header variables are converted to
HTTP_VARIABLE environment variables, like this:
User-Agent -> HTTP_USER_AGENT
Also, you may look at REMOTE_ADDR, REMOTE_HOST and REMOTE_USER variables.
-- Stanislav Malyshev stas <email protected> +972-50-624945-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: rubys <email protected>: "Re: [PHP4BETA] Re: Is their a module to use CORABA with PHP"
- Previous message: Stuart Harris: "[PHP4BETA] Multi-line output from an exec().."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

