tags:

views:

101

answers:

2

I'm busy writing a PHP webservice and wish to receive a file as an array of byte streams (you can do something similar using C#) how can I do this in PHP? Using PHP 5 with NuSOAP.

+1  A: 

Perhaps you only need to send an URI and the client grab the file... no?

You can also encode the file with base64.

GiDo
A: 

Hey,

what about php streams ? I have worked with streams in C# before, not in php, but seems like it should work :)

check out this presentation ( starting from slide 18 )

good luck !

mhd