For some reason, with this code: header("Content-Type: text/x-vcard;charset=utf-8;"); header("Content-Disposition: attachment; filename=card.vcf"); header("Prag
I am currently writing a script for work, which goes through every file in a directory and its many sub directories and counts the amount of lines in each file.
I want to get the extension from a MimeType. For example: video/mp4 ----> mp4 application/x-rar-compressed ----> rar text/plain
I am working on side stuff where the data provided is in a .data file. How do I open a .data file to see what the data looks like and also how do I read from a