Is it possible to create hidden files/folders on windows using php (xampp)? And if it is, how?
You could call attrib:
$filename = 'c:\\some\\file.txt'; exec('attrib +h '.$filename);