Firstly , excellent job on the counter, I love it because i dont have SQL database and it is still powerful in a db file.
I was using it since a long time now on a php3 server without problems, but since I moved my website on a php4 server there is some symbol errors and I havent found yet how to fix.
where the line 34 is:Code:PHP Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Domains\kd-team.com\wwwroot\dfind\c0unter\counter.php on line 34
Then i suppose the line 34 is correct but It should be a bug coming from the line aboveCode:<?php global $DB, $OPTION; // -------------------------------------------- // | The EP-Dev Counter script // | // | Copyright (c) 2002-2004 EP-Dev.com : // | This program is distributed as free // | software under the GNU General Public // | License as published by the Free Software // | Foundation. You may freely redistribute // | and/or modify this program. // | // -------------------------------------------- // ------------- // // Database Type // // ------------- // // Use MySQL Database (1 = use mysql, 0 = use files) $DB['type'] = 0; // ----------------- // // SITE CONFIG SETUP // // ----------------- // /* Absolute path to counter script (ex: "/mywebsite/counter/") with trailing slash. NOTE: If you do not know what your absolute path is, please run run abs.php that is included with this counter's zip file. */ $OPTION['Absolute_Path'] = "C:\Domains\kd-team.com\wwwroot\dfind\c0unter\"; // --------------- // // COUNTER OPTIONS // // --------------- // // Online Time - Number of minutes a visitor is considered online: $OPTION['OnlineTime'] = 15; <<<<<====== LINE 34
the \" is prolly what is buuging here so to fix I moved $OPTION['Absolute_Path']Code:$OPTION['Absolute_Path'] = "C:\Domains\kd-team.com\wwwroot\dfind\c0unter\";
to the end of my file , the error line 34 is fixed and all others so but I still got one
and im unable to fix it
Plz help me I dont wnat to change the script.Code:PHP Parse error: parse error, unexpected $end in C:\Domains\kd-team.com\wwwroot\dfind\c0unter\counter.php on line 733


Reply With Quote
