[thelist] OO PHP

Andrew Forsberg andrew at thepander.co.nz
Tue Feb 12 19:11:21 CST 2002


>I want a function in the object to check to see if a file has been
>uploaded. To do this, I wanted the object to check $HTTP_POST_FILES on
>its own. If I do this, I get this error/warning:
>
>Warning: Undefined variable: HTTP_POST_FILES

Why not just pass the $HTTP_POST_FILES array to the functions which
need to deal with the files?

Cheers
Andrew

--



More information about the thelist mailing list