EM60 Posted February 15, 2004 Posted February 15, 2004 Hello, I wonder if anyone has found a cure for this parse error which you get from using code given in Wiki Docs http://wiki.oscommerce.com/docsCatTipIp Here is what the document says to do ______________________________________________________ How do you make the visitors IP show up in the footer? In catalog/includes/footer.php at the very bottom. Change: <?php } ?> To: <?php $rmtIP = $REMOTE_ADDR; ?> < tr> <td colspan="2"> <table width="100%"> <tr> <td class="smalltext" align="center" height="20" valign="middle"> <?php echo " Your IP Address is: " . $rmtIP; ?> </td> </tr> </table> < /tr> This puts the IP address inside a table. _________________________________________________________________ However I get a parse error. I have tried everything I know without much success . Any help would be greatly received thanks in advance EM60
OceanRanch Posted February 15, 2004 Posted February 15, 2004 I would add } just above $rmtIP = $REMOTE_ADDR; HTH Tom
EM60 Posted February 17, 2004 Author Posted February 17, 2004 Thanks Tom. That worked a treat ! You saved so much grief . Thanks again EM60
Recommended Posts
Archived
This topic is now archived and is closed to further replies.