[thelist] OO PHP
Andrew Forsberg
andrew at thepander.co.nz
Wed Feb 13 14:23:00 CST 2002
> > Why not just pass the $HTTP_POST_FILES array to the functions which
>> need to deal with the files?
>
>This seems like the best solution. I guess I misread the php manual, and
>thought that the $HTTP_POST_FILES would contain the entire file that had
>been uploaded. I read it again, and I think it just contains
>*information* about that file.
>
>Thank you,
No problem. :)
Another idea, since you're using objects, would be to pass
$HTTP_POST_FILES by reference to an object's constructor. That might
be cleaner still. I guess it depends on how extensively your program
is dealing with file uploads.
Best of luck,
Andrew
--
Andrew Forsberg
---
uberNET - http://uber.net.nz/
the pander - http://thepander.co.nz/
More information about the thelist
mailing list