[wp-hackers] file upload: why actual files?

Mark Shields laebshade at gmail.com
Sat Sep 18 22:41:33 UTC 2004


It isn't possible to store non-text in databases is it?  Such as,
pictures, executables?


On Sat, 18 Sep 2004 18:18:31 -0400, Michael Leuchtenburg
<michael at slashhome.org> wrote:
> Is there a design reason for Wordpress to upload files to a directory,
> rather than putting them in the database? It seems to me that it would
> make more sense to put them in the database, possibly associated with
> individual posts. This would remove the need to have that directory
> writable by the user the webserver is running as, it would remove the
> need to rename files, and it would reduce the number of places data
> needed to backup/recreate a weblog can be in.
> 
> I am thinking of implementing this. I would do it in a way that can run
> alongside the current code, switched by an option in the admin dialog.
> 
> Any thoughts?
> 
> --
> Michael Leuchtenburg  |  http://slashhome.org/
> cell: 413.433.0739
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
> 



-- 
- Mark Shields



More information about the hackers mailing list