[Solar-talk] $_FILES array
Jeff Surgeson
solar at 3hex.com
Mon May 8 16:09:03 PDT 2006
Hi Paul
> > $item_img = Solar::shared('super')->fetch('files', 'Items');
> >
> > to get the elements of the $_FILES array
>
> Ah crap, I promised to add that and then failed to keep my promise.
>
> Here is the necessary method for the Solar arch-class:
>
> public static function files($key = null, $default = array())
> {
> return Solar::_super('_FILES', $key, $default);
> }
>
> Usage is:
>
> $item_img = Solar::files('Items');
>
> Let me know if this helps.
>
As always :-) :-) :-) thank you sir!
--
Jeff Surgeson
More information about the solar-talk
mailing list