island Posted August 18, 2007 Share Posted August 18, 2007 Hello, When we pass mouse cursor on some dll files on windows we get some informations about file like description, version, created date, author,... how can i get this informations in php ? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/65577-solved-return-description-and-version-of-dll-file/ Share on other sites More sharing options...
MadTechie Posted August 18, 2007 Share Posted August 18, 2007 check the manual filesystem as for description, version, author their window based resources.. you may get an extension or a file resource parser that will but no builtin functions that i know of (never tried).. a few commands are here fileatime — Gets last access time of file filectime — Gets inode change time of file filegroup — Gets file group filemtime — Gets file modification time fileowner — Gets file owner fileperms — Gets file permissions filesize — Gets file size filetype — Gets file type Quote Link to comment https://forums.phpfreaks.com/topic/65577-solved-return-description-and-version-of-dll-file/#findComment-327417 Share on other sites More sharing options...
island Posted August 18, 2007 Author Share Posted August 18, 2007 Thank you for your fast reply the importants informations that i need are description, version and author can i get with others langages ? like VB ? Quote Link to comment https://forums.phpfreaks.com/topic/65577-solved-return-description-and-version-of-dll-file/#findComment-327419 Share on other sites More sharing options...
MadTechie Posted August 18, 2007 Share Posted August 18, 2007 In VB.NET you can use the FileInfo class for the basic info Dim f As New FileInfo("C:\demo.dll") Debug.WriteLine(f.LastWriteTime.ToString) Debug.WriteLine(f.LastAccessTime.ToString) Debug.WriteLine(f.CreationTime.ToString) Debug.WriteLine(f.Name) ETC... as for the assembly attributes (description, version and author) heres a good article, http://www.vbdotnetheaven.com/UploadFile/mpathak/ReadingAssembly04112005053044AM/ReadingAssembly.aspx you could create an ASPX page or ActiveX object or even have a small moniting app running on a windows machine creating a text file for each dll with the info you need Quote Link to comment https://forums.phpfreaks.com/topic/65577-solved-return-description-and-version-of-dll-file/#findComment-327423 Share on other sites More sharing options...
island Posted August 18, 2007 Author Share Posted August 18, 2007 Thank you Quote Link to comment https://forums.phpfreaks.com/topic/65577-solved-return-description-and-version-of-dll-file/#findComment-327457 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.