Re: Re: [PHP] Mulitpart form posts and mysql blobs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, I should have said. Im trying to send this file to an external
multipart form script which converts the file to the desired format. Im
using cURL to do this. 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

I want to be able to get the BINARY data from mySQL and send it via cURL
directly.

TIA
----- Original Message -----
From: "John W. Holmes" <holmes072000@xxxxxxxxxxx>
To: "John Ryan" <celticfc@xxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>; <php-db@xxxxxxxxxxxxx>
Sent: Saturday, November 15, 2003 1:22 AM
Subject:  Re: [PHP] Mulitpart form posts and mysql blobs


John Ryan wrote:
> How are files encoded when theyre sent in mulitpart forms??? Is it the
same
> as blob fields in mySQL databased when you use the LOAD_FILE() command??
>
> If not, is it easy to convert from one to the other?? At the moment, Im
> taking the blob from mySQL and writing it to a file and then uploading
that
> file through cURL! Very messy.

So what are you actually trying to accomplish? Moving a file from one
server to another???

--
---John Holmes...

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

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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux