Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Dear Klemen,
I finished a first test page - correct. There are no mistakes in. It run propper on localhost and on an public domain.
I entered a validation service and got
Code: Select all
type=JavaScript
Your code does show "language" instead of "type".
Code: Select all
language=JavaScript
Code: Select all
<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>
Question
do you have an "only php" - solution?
For example,
Code: Select all
$my_cc = "http://www.domain.com/ccount/display.php";
if(file_exists($my_cc)){
include($my_cc);
echo "my_cc is OK<br>\n";
} else {
echo "my_cc failed<br>\n";
}
later masked,
// echo ... etc
How to get "?page=PAGENAME" to knowledge of the counter?
Add a variable in the target page,
Code: Select all
$cc_page = "PAGENAME";
I like ccounter much - because the very nice made admin - back office.
Because the compact script.
Simple and sure.
Best regards,
Carsten
Carsten Schermuly
Ludolfstr 14
37581 Bad Gandersheim
Germany