我想获取与文件关联的属性值,test.pdf我的桌面中有 pdf 文件,我想使用 PHP 代码显示其类型、名称、大小和其他属性,如下所示。
<?php
$myfile = fopen("C:/Users/Rink16/Desktop/test.pdf","r") or die("Unable to open file!");
//i want to echo the variables such as echo test name,
// its size, its type using PHP
?>
莫回无