in reply to Re: Upload Security (strip ../
in thread Upload Security (strip ../, etc.)

You don't need to use sysopen:

open(FILE,"< $file\0")

Note that the space and the trailing nul are required.