Brigo
Brigo

Reputation: 1112

pathinfo() safety: is it possible to fake the extension?

I currently get the extension of the files are uploaded by the admins using pathinfo($FILE["name"], PATHINFO_EXTENSION), validating them if they match with a specific list.

Today I was wondering:

Upvotes: 1

Views: 480

Answers (0)

Related Questions