[PHP] [PHP-DB] [PHP] Mulitpart form posts and mysql blobs

[PHP] [PHP-DB] [PHP] Mulitpart form posts and mysql blobs

Post by jabbe » Sun, 16 Nov 2003 11:17:30


Hi John,
Your new information does make my previous post redundant :-)
However I disagree when you say.

"cURL can send files when given the filename, so I have to write the
filename from the database and then give cURL the path.

But thats messy"

IMHO this is a lot less messier than the current approach . You have to also keep in mind that using blobs puts just a wee bit more load on the database server.

Getting back to the problem at hand how about invoking one of the curl binaries and piping output from your blob into it?

best regards








--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.yqcomputer.com/ | http://www.yqcomputer.com/
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.
 
 
 

[PHP] [PHP-DB] [PHP] Mulitpart form posts and mysql blobs

Post by holmes0720 » Sun, 16 Nov 2003 12:19:33


Kind of begs the question of why you're storing files in the database in
the first place...

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals www.phparch.com