Re: Receiving a text stream
| From: | Chris Lee | Date: | Tue, 15 May 2001 18:22:09 +0000 |
| Subject: | Re: Receiving a text stream | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52924@lists.php.net to get a copy of this message | ||
web browsers can only request data (GET / HTTP/1.1) data can not be pushed to them (except Netscape,
dont go there). you can send all the data you want to an IP but the browser only opens connections,
it doesnt accept connections, the data will be rejected.
if you were to write an app in VB or Delphi you could write that code to allow connections, then php
could send it data. I dont know howto do that.
--
Chris Lee
lee@mediawaveonline.com
"Todd Cary" <todd@aristesoftware.com> wrote in message news:3AFF2800.EBECC34D@aristesoftware.com...
I am not sure about this topic, so my question may refect this lack of
knowledge. I have an application where I send a credit card request to
a credit card processor. They return the information in a POST stream
and I open a socket and read the information into a variable. This
works very well.
Now I want to switch positions. I would like to send a stream of text
data to a surfer (e.g. their IP) and I would like to have them get the
data when they are in a program like Delphi or Visual Basic so that they
can use it within their program. How does on "get" the data when they
are in a browser like EI or Netscape? Does it have to be written to a
file first?
Todd
--
Todd Cary
Ariste Software
todd@aristesoftware.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net