Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $finfo = finfo_open(FILEINFO_MIME, "C:/xampp/php/extras/magic/magic"); // /usr/share/misc/magic
- $filename = "http://localhost/__MODULES/_TRYES/logo4w.pdf";
- echo finfo_file($finfo, $filename);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement