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

Craig Hartel milquetoast at telus.net
Sat Sep 18 22:48:23 UTC 2004


Michael Leuchtenburg 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?
> 
My thought is that this makes no sense to me at all. :\

Craig.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : /pipermail/hackers_wordpress.org/attachments/20040918/c66ab640/signature.bin


More information about the hackers mailing list