Checkpath

checkpath is a function that allows you to verify if a file path is in the white list of the engine and can therefore be accessed.

Syntax

checkpath(FILE_PATH,ACCESS_MODE)

This function returns a 1 if the requested access rights are not denied by the white list definition; otherwise it returns a 0.

See also

Delfile, Renamefile, Openi, Openo, Openio.