[wp-hackers] Where Should Plugins Store Files?

Piyush Mishra me at piyushmishra.com
Mon Sep 13 03:39:22 UTC 2010


If the file isnt of any use out side the plugin, I use the plugin itself

On Mon, Sep 13, 2010 at 7:11 AM, Raj <list at expost.org> wrote:

>
>
> Often times I find my plugins require file uploads and a location to save
> them. Other times I generate image files.  So far I have been base64'd them
> and putting them into the database for fear of lack of permissions in the
> file system. Surely there is some location within wordpress where a plugin
> can rely on having some place to put files? wp-content/uploads may be? Can
> I
> rely on wp-content/uploads to always have read/write permissions be the
> location where files can be placed if necessary? Please suggest how I can
> approach handing writing files to the file system.
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Regards
Piyush Mishra
http://www.piyushmishra.com/
Life's Short, Live it to the maximum


More information about the wp-hackers mailing list