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