How to prevent ../ in a get method

前端 未结 0 1710
[愿得一人]
[愿得一人] 2021-01-24 12:13

I have $_GET[view] that will contain a path. I do an OPENDIR to scan the directories in the path given, lets just say the URL parameter will be view=files/teachers/

When

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