php-windows Digest 14 Oct 2001 09:32:46 -0000 Issue 804
Topics (messages 9837 through 9840):
How do I obtain the client's IP?
9837 by: ChriS
9838 by: DL Neil
Re: gif support trouble
9839 by: Rense Klinkenberg
PHP inder Windows XP
9840 by: Jan Peter Sigmond
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
How can I obtain the client's IP address in PHP? I'm trying to migrate from
IIS/ASP to Apache & PHP and need something similar to ASP's servervariables'
collection? (HTTP_REMOTE_ADDR)
Chris
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
> How can I obtain the client's IP address in PHP? I'm trying to migrate from
> IIS/ASP to Apache & PHP and need something similar to ASP's servervariables'
> collection? (HTTP_REMOTE_ADDR)
Chris,
PHP's environment variables offer a "REMOTE_ADDR" value and
"HTTP_SERVER_VARS["REMOTE_ADDR"]".
The best illustration of the PHP environment is offered by the <?php phpinfo() ?>
'test.php'
routine.
Regards,
=dn
--- End Message ---
--- Begin Message ---
"Mates" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi,
>
> i'm getting the following error message:
>
> ImageGif: No GIF support in this PHP build in ....
Since GIF contains some copyrighted / pattented encoding, it can not frrely
be distributed in America and some other countries. Therefor GIF support is
disabled.
--- End Message ---
--- Begin Message ---
Hi!
I'm having some problems with php under Windows XP.
I just installed php in combination with Apache. Apache is working fine, but
when ik ga to a local .php site, it only gives a white screen. I don't get
errors or something, so the link between apache and php is there. But why
doesn't the php.exe process the page?Can somebody give me some tips or
solutions?
cya Jan Peter
(Netherlands)
--- End Message ---