How can I correctly filter out local file inclusion in PHP?
I’ve been searching but can’t find a simple function to do this. As I understand it removing slashes isn’t enough.
How can I correctly filter out local file inclusion in PHP? I’ve been searching
Share
Don’t ever use
include()(or its relatives, likerequire()orreadfile()) on user input. Ever.