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:33

Susan Baker <sbaker@no.spam.net> 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.

I'd suggest splitting your problem into two parts:

1) Write a PHP script which can spit back the dummy data. (You can test
this with a web browser)

2) Write a C# client app which can download data from an arbitrary URL.
(You can test this with a web server with a dummy file on.)

If you get stuck on either part, please post on the appropriate group
with how far you've got.

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

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