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

Posted by Jon Skeet [C# MVP] on 12/22/05 08:32

Mladen Gogala <gogala@sbcglobal.net> wrote:
> > 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.

That all sounds very complicated, considering that from all we've been
told, a simple web solution is a perfectly good (and *much* easier)
solution. After all, a browser requesting an image conforms exactly to
the situation Susan specified. There's no need to get message queues,
email or a database involved.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

 

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

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