You can refer to the section "Programmers' Views on NTFS 2000 Part 1: Streams and Hard Links" in MSDN and
write summary information as follows.
if($h=fopen("test.txt:Title","w"))
fwrite($h,"test");
Read summary information
if($h=fopen("test.txt:Title","r"))
echo fread($h,1024);
Description:
When the specified summary information, which is the field name after ":" (you can specify the field you want), does not exist, an error will be reported, so the information must be written before.