[development] Better documentation for working with uploaded files?
Richard Morse
remorse at partners.org
Fri Jul 13 14:19:05 UTC 2007
On Jul 12, 2007, at 8:10 PM, andrew morton wrote:
> Did you look at the example module:
> http://cvs.drupal.org/viewcvs/drupal/contributions/docs/developer/
> examples/fileupload.module?rev=1.6&view=markup
No -- thank you for pointing this out. Is this linked off of
api.drupal.org anywhere?
> You can do it that way but you'll find that as obtuse as they may be,
> Drupal's file functions are there to help prevent security exploits.
> I'd be very careful doing it by hand.
One problem I've discovered by reading through the various functions
and trying to figure out what they do is that they seem to require
the files to be in the Drupal files directory. Sadly, this is not
compatible with the particular task at hand...
Ricky
The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.
More information about the development
mailing list