maexus Posted December 20, 2006 Share Posted December 20, 2006 All of my pet projects lately have involved databaseless scripts. Something I need to do is store a string in the comments field on a file, which I don't know if that's just for Windows. I have searched but found nothing. Is it possible to embed a string into a file and have it be ignored if someone just opens the file. Like an image file. Sort of how mp3s have tag into embeded in them.Any help would be great. Thanks. Link to comment https://forums.phpfreaks.com/topic/31328-modifying-file-information-such-as-comments/ Share on other sites More sharing options...
btherl Posted December 20, 2006 Share Posted December 20, 2006 mp3 tags are stored in the file itself. Same with version information and the like that you see on executables.. that is part of the file format.So to edit that information, you need a library which understands the file format (such as PE executable, or mp3 id tag) in order to modify it.As far as I know, there's no additional data stored along with files in windows. Just what is in the file itself. Link to comment https://forums.phpfreaks.com/topic/31328-modifying-file-information-such-as-comments/#findComment-144984 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.