更新时间:2022-10-30 11:02:01
现在许多浏览器都不会发送这些信息,因为它可以为攻击者提供关于用户系统的信息。
I am using a file upload in PHP. I want to get the Full PATH of the File Selected. Is there any way i can get the full path in PHP??
For Eg: i uploaded a image from : "c:\upload\check.jpeg"
I want the full path.. as "c:\upload\check.jpeg".
i tried pathinfo, $_FILES. But no help.
Thanks in advance.
You probably can't. Many browsers these days don't send that information, as it can give attackers information about the user's system.