Skip to content

file getfile.php

Oliver edited this page Apr 26, 2020 · 2 revisions

Returns a user-file

Injects into the requests to /data/files/[user-id]/ and returns the file ONLY IF it is also present in the DB user table "files"!

Package

\Default

author

? IneX

since

1.0 file & functions added 1.2 Validate $_GET parameters, changed file include 1.3 Minor code improvements, added FIXME, updated comments

version

1.3

FIXME

Refactore code according to gallery.readpic.php version 2.0

param

Array user-id from db Array filename Array file-id from db

return

Array

See also


\ » Files » www/getfile.php

Clone this wiki locally