|
System
|
|
Programs and Database
|
|
Ground rules
Guidelines for Contributors
Overviews and Introductions
Membership list
How to subscribe to Mailing Lists
|
|
Downloadable Database
Browsable Database
The CLAN Program
WebCLAN
Training Videos
|
|
Links |
|
Manuals
|
|
The TalkBank Database
IASCL information
Other Child Language sites
Research based on CHILDES
Related Software
|
|
CHAT Transcription
CLAN Programs
Database Manuals
BTS sign transcription system
|
|
Phonology and Fonts
|
|
Teaching with CHILDES
|
|
Phon & PhonBank
Unicode and IPA for Mac
Unicode and IPA for Windows
|
|
Topics in language acquisition.
Teaching Tips and Resources.
Child Language Bibliographies
|
|
Special Procedures |
|
Morphology and Lexicon |
|
Procedures and tools for CA analysis
Working with digitized video
Working with digitized audio
The Computerized Comprehension Task
|
|
Part of Speech Analysis by MOR
Parental frequency count: view, download, documentation
MRC lexical dictionary
Syntactic analysis by GRASP
|
|
Mirrors |
|
Contact
|
|
Antwerp and Chukyo
|
|
Brian MacWhinney : homepage
|
|
This page has been accessed
#
# This is a simple page counter. Written for my November 4th 2002
# TechTV appearance.
#
# First, lets get the URL so we can appropriately track it.
$CounterFile="count.dat";
$UniqueFileID="$SERVER_NAME--$DOCUMENT_URI";
#print " $UniqueFileID ";
# Then we'll make a unique hash...
$UniqueHash=bin2hex(md5($UniqueFileID));
#print " $Unique_Hash ";
# now we'll lock the file.
$FilePointer=fopen($CounterFile,"r+");
flock($FilePointer,LOCK_EX);
# Now we'll read in the values in the counter file.
while ($FileCount = fscanf ($FilePointer, "%s\t%s\n"))
{
list($HashID,$Count)=$FileCount;
$CountHash[$HashID]=$Count;
}
# New we'll increment the number of accesses to the counter file.
$CountHash[$UniqueHash]=$CountHash[$UniqueHash]+1;
# now we'll rewind to the beginning of the file
rewind($FilePointer);
# now we'll go through each element of the hash and write it to the file.
# How? By dropping all the hashes into an array.
$CountKeys=array_keys($CountHash);
# The stepping through that array to write them to the file.
foreach($CountKeys as $TheKey)
{
fwrite($FilePointer,"$TheKey {$CountHash[$TheKey]}\n");
}
# now we unlock and close the file.
flock($FilePointer,LOCK_UN);
fclose($FilePointer);
# and print out the result.
print "{$CountHash[$UniqueHash]}";
#
# Some other time we can do this with pretty graphic numbers, but I wanted to keep
# it simple for now.
?>
times since Oct 18, 2003.
CHILDES is supported by grant R01-HD23998 from NIH-NICHHD. |
|
|