You are here: Re: Susan - desperately seeking ... « PHP Programming Language « IT news, forums, messages
Re: Susan - desperately seeking ...

Posted by Mladen Gogala on 12/22/05 06:12

On Thu, 22 Dec 2005 02:58:41 +0000, Susan Baker wrote:

> Hi Guys (and girls),
>
> I am in a bit of a bind. I'm looking for a simple "proof of concept" C#
> app (WinForm OR console) that sends a web request to a simple PHP script
> and receives BINARY data back from the PHP script. Binary data is
> necessary because I want to be able to send files as well as compressed
> (zipped) data.
>
> The example PHP script can ofcourse, simply make up some dummy data and
> send it to the C# app. I have tried desperately over the last few weeks
> to locate such an example, but have been unsuccesful so far. I would be
> most grateful for anyone who can help.

Susan, why don't you install PEAR MAIL_Mime package and send the binary
data by email? What you want is, basically, to send data from PHP script
to an application. That is usually done through messaging/queueing
applications like MQSeries (part of WebSphere) or Tibco's RendesVous.
In the absence of such complex queueing systems, an ordinary email
might do the trick. It can be configured and played with, to make sure
that the mail ends up on the right address.
Another solution for two diverse system to communicate is to share a
database. Binary data would then be uploaded as a BLOB field and the
row pointer would be passed to the client.

--
http://www.mgogala.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация