Click to See Complete Forum and Search --> : Need some help


TheShibby
10-22-2003, 09:47 PM
I need some php help. I downloaded a IP logger from http://www.mcsky.net/_extern/debilsoft/ then I uploaded the iplog.php (the script that tracks ip)and daten.txt (where it is logged) then added <?php include "iplog.php"; ?> to the head part of my website.Last I clicked on my website and checked the daten.txt and nothing showed up. Im new at php can i get some help plz. Thanks!

pyro
10-22-2003, 10:17 PM
Without seeing code, we can only guess, so here goes:

Did you CHMOD the .txt file? Should be something like 666.

Is the path to the text file correct? Remember, when using PHP includes, the path must be correct from the page calling the inlcude, not necessarly where the include itself resides.

Did you rename the pages with a .php extention?