P
Pygmalion
I am using a ultra-simple PHP counter, that counts number of visits in
a plain txt file counter.txt, e.g.
index 10
pictures 8
cv 6
To display the number of visits, I use this combination:
<script type="text/javascript" src="counter.txt"></script>
....
Number of visits: <script type="text/
javascript">document.write(pictures)</script>
This ultra-simple thing works perfect in HTML, but not in XHTML, since
XHTML does not support document.write any more. Is there a way around
for this problem?
Thanks, Marko.
a plain txt file counter.txt, e.g.
index 10
pictures 8
cv 6
To display the number of visits, I use this combination:
<script type="text/javascript" src="counter.txt"></script>
....
Number of visits: <script type="text/
javascript">document.write(pictures)</script>
This ultra-simple thing works perfect in HTML, but not in XHTML, since
XHTML does not support document.write any more. Is there a way around
for this problem?
Thanks, Marko.