Re: file to blob

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

 



Hello,

on 10/03/2006 04:38 PM Joshua Capy said the following:
> I am relatively new to php and could use a good pointing in the right
> direction.
> 
> I have a soap client in NuSoap that I developed for a webservice that I
> wrote in another language and I need it to be able to send a file in a
> blob.
> 
> I can't find an example of how you load a file in its entirety (not just
> the content) into a blob in PHP. I need to be able to do this because
> the webservice that is being called recreates the document locally for
> the user.
> 
> Can this be done in PHP?

You may want to take a look at this HTTP client class. It even comes
with an example of how to submit a SOAP request. Although it will not
build the SOAP request for you, at least it can stream the file data to
the HTTP server so you do not have to load it in memory all at once.

-- 

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux