PATHINFO_EXTENSION not working when sent over JSON

前端 未结 0 1916
醉话见心
醉话见心 2020-11-27 03:28

I have the following code:

$filename = $_FILES[\'files\'][\'name\'];
$ext = pathinfo($filename, PATHINFO_EXTENSION);
$ext = strtolower($ext);
$thefilename = $         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题