Sunday, May 1, 2011

Receive A File Via PHP Web Service

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.

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

    You can also encode the file with base64.

  • 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 !

0 comments:

Post a Comment