The thing is that I reinstalled win2k, so I did with apache, mysql, php
4.1.1 the same.

I installed php (U know, editing php.ini-recommended, copying files
everywere, etc), and tested it with some old scripts I have. Well, the
problem is when I tried to exec my home page. It has a basic IP recognition
check, for me (loopback and 192.168.1.1) and some friends, that always
worked. this time not, it showed me the message for unknown users that I
have predefined if the user IP is not on the database.
Then I wrote a small script, this one:

<?
echo "<br>Nombre del servidor: <b> $SERVER_NAME </b>";
echo "<br>Versión de CGI: <b> $GATEWAY_INTERFACE </b>";
echo "<br>Software del server: <b> $SERVER_SOFTWARE </b>";
echo "<br>URL referida: <b> $HTTP_REFERER </b>";
echo "<br>IP del cliente: <b> $REMOTE_ADDR </b>";
?>

with lots of predefined vars. none of them showed. Some other basic scripts
I wrote worked like a charm. So I began the uninstallation. First I deleted
php.ini from c:\winnt and c:\php and... well, the not working scripts became
alive and began to work.
So it´s a misconfiguration of php.ini, and without it it is using default
settings. What should I look for?

PHP 4.1.1, Apache 2.0.28 (correctly configured), win2ksp2, blah, blah, blah

Thanx in advance...



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

Reply via email to