the only one problem is "language=JavaScript"

Post your Click counter digestion problems here
Post Reply
SchermulyC
Posts: 1
Joined: Sat Nov 01, 2008 11:30 am

the only one problem is "language=JavaScript"

Post by SchermulyC »

Script URL:
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
were missed.
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>
I tried "type=JavaScript" - the validation service was in peace with - but the counter did no more work.

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";
}
"echo" just as a visible first proof,
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";
and let the counter.php (or settings.php, admin.php resp index.php) overtake it. Were that possible? If so, I liked to pay more than just 10 Euro.

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
Post Reply