[PHP] communication protocol

2010-07-06 Thread Augusto Flavio
Hi List,


I'm looking for a chat support likes the livezilla. The livezilla is a great
tool but doesn't have language supports to another language instead english
and german (operator side). Then I thought that a good option would be
develop my own chat support.

A great solution is build the server side in PHP. The client side would be
developed in PHP. For the operator side I thought that could be a Desktop
Windows Application build using the Flex.


I found that have a communication tool called BlazeDS for Flex that works
and helps with the development of this chat support. But the BlazeDS is for
Flex/Java. Is there some tool in PHP that helps the development of a server
web messaging likes the BlazeDS?



Thanks for all.



Augusto Morais


Re: [PHP] communication protocol

2010-07-06 Thread Ashley Sheridan
On Tue, 2010-07-06 at 18:41 -0300, Augusto Flavio wrote:

 Hi List,
 
 
 I'm looking for a chat support likes the livezilla. The livezilla is a great
 tool but doesn't have language supports to another language instead english
 and german (operator side). Then I thought that a good option would be
 develop my own chat support.
 
 A great solution is build the server side in PHP. The client side would be
 developed in PHP. For the operator side I thought that could be a Desktop
 Windows Application build using the Flex.
 
 
 I found that have a communication tool called BlazeDS for Flex that works
 and helps with the development of this chat support. But the BlazeDS is for
 Flex/Java. Is there some tool in PHP that helps the development of a server
 web messaging likes the BlazeDS?
 
 
 
 Thanks for all.
 
 
 
 Augusto Morais


It depends what you need the chat to do. Are you looking for a full
chatroom or a one-to-one chat option? You could quite easily have an
AJAX front-end that queries the server every ½ second or so for new
messages and display them. You could have something up and running very
easily in no time at all.

Thanks,
Ash
http://www.ashleysheridan.co.uk




Re: [PHP] communication protocol

2010-07-06 Thread Phpster
Amfphp ( www.amfphp.org) is what you might be looking for. It converts php 
based content into the flex digestible format.

Bastien

Sent from my iPod

On Jul 6, 2010, at 17:41, Augusto Flavio afla...@gmail.com wrote:

 Hi List,
 
 
 I'm looking for a chat support likes the livezilla. The livezilla is a great
 tool but doesn't have language supports to another language instead english
 and german (operator side). Then I thought that a good option would be
 develop my own chat support.
 
 A great solution is build the server side in PHP. The client side would be
 developed in PHP. For the operator side I thought that could be a Desktop
 Windows Application build using the Flex.
 
 
 I found that have a communication tool called BlazeDS for Flex that works
 and helps with the development of this chat support. But the BlazeDS is for
 Flex/Java. Is there some tool in PHP that helps the development of a server
 web messaging likes the BlazeDS?
 
 
 
 Thanks for all.
 
 
 
 Augusto Morais

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] communication protocol

2010-07-06 Thread Augusto Flavio
Hi again,

I'm thinking about in how to do the communication between web chat in
browser client, the server and the operator desktop client.

I'm thinking in web service likes wsdl.


Is a good option?


Thanks


Augusto Morais


Re: [PHP] communication protocol

2010-07-06 Thread Phpster
Try rest based or comet for chat

Bastien

Sent from my iPod

On Jul 6, 2010, at 22:41, Augusto Flavio afla...@gmail.com wrote:

 Hi again,
 
 I'm thinking about in how to do the communication between web chat in
 browser client, the server and the operator desktop client.
 
 I'm thinking in web service likes wsdl.
 
 
 Is a good option?
 
 
 Thanks
 
 
 Augusto Morais

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Communication protocol of PHP and Mysql

2005-02-25 Thread Bruno Santos
Hello all.
Im developing an application as my final school project and for the 
report (administration manual) i need to specifie the protocol of 
communication between PHP and Mysql when accessing the mysql database 
using the functions within PHP.

PHP communicates with Mysql throw TCP/IP or any other protocol ?
cheers !
--
Say no to software patents
www.nosoftwarepatents.com/
--
[EMAIL PROTECTED]
--
Divisao de Informatica
[EMAIL PROTECTED]
Tel: +351 272 000 155
Fax: +351 272 000 257
--
Hospital Amato Lusitano
[EMAIL PROTECTED]
Tel: +351 272 000 272
Fax: +351 272 000 257
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Communication protocol of PHP and Mysql

2005-02-25 Thread Richard Lynch
Bruno Santos wrote:
 Im developing an application as my final school project and for the
 report (administration manual) i need to specifie the protocol of
 communication between PHP and Mysql when accessing the mysql database
 using the functions within PHP.

 PHP communicates with Mysql throw TCP/IP or any other protocol ?

For sure:
TCP/IP
Un*x sockets

Possibly:
SSL/SSH, depending on version and configuration, I think...

You probably could find out for sure here:
http://mysql.com
what options are available, and then here:
http://php.net
which options have been implemented

It will take some reearch, but that's why they call it homework eh?

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Communication

2004-05-28 Thread Jakes
I'm looking at distributing PHP applications to desktops, using SQLite as
the database.
All information that is updated in the application will be local on the
machine, until
published to the webserver.

My question is, what would be the best way to update the  webserver sitting
at a service provider.
What should I use for the communication? SOAP, Sockets, XML ???

Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Communication between PHP Server code and HTML/JavaScript client without refreshing the page

2003-07-04 Thread Sharat Hegde
Hello,

How do I communicate betwen an HTML page having JavaScript and a PHP server
code without having to refresh the HTML page. I was originally thinking of
having an invisible applet communicating to the server, but I am not sure
how this is done.

I am also considering XML and SOAP, but I am not sure about the following:
1. Where does the SOAP client reside - on the browser/html or on the server?
2. How do I communicate from my HTML page to the SOAP client?

Regards,
Sharat

*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Communication between PHP Server code and HTML/JavaScript client without refreshing the page

2003-07-04 Thread Jon Haworth
Hi Sharat,

 How do I communicate betwen an HTML page
 having JavaScript and a PHP server code without
 having to refresh the HTML page.

I don't think this is possible: once PHP has run (and sent your Javascript
to the browser), it's finished - you can't use it again until the next time
the page loads.

If you want to do this sort of thing you're looking at a Java applet or
something along those lines.

Cheers
Jon


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Communication between PHP Server code and HTML/JavaScript client without refreshing the page

2003-07-04 Thread Konstantin S. Kurilov
Hi,

It is RPC software.

I have used it. It work for me.

 - Konstantin

===
Frn:  Jon Smirl [SMTP:[EMAIL PROTECTED]
Skickat:  den 12 mars 1999 05:21
Till:  [EMAIL PROTECTED]
Angende:  [PHP3] RPC for PHP from the browser

This is a port of Microsoft's remote scripting that supports PHP as 
the
processing system instead of ASP. The Script directory is an exact 
copy of
the download available from http://www.microsoft.com/scripting but is 
has
been extracted out of the windows exe to allow access from Unix.

Remote scripting allows RPC calls to PHP objects located at the 
server.
These calls can be synchronous or asynchronous. You can build some 
really
cool pages by combining DHTML and RPC. In the simple case this lets 
you
change part of a page without causing a reload. Remote scripting is 
supposed
to work in MSIE and Netscape, but I haven't checked it in Netscape.

The MS client components are unchanged, you use RSPROXY.CLASS and 
RS.HTM
exactly as you would for the ASP engine. The only thing to watch for 
is that
PHP method names are not case sensitive and Javascript names are. The 
result
is that you need to always use lower case method names from your HTML 
file.

RS.INC replaces RS.ASP on the server. They should function exactly the 
same,
if they don't let me know.

RSPROXY.JAVA source code is available by buying MS Visual Interdev. 
They
distribute the compiled class for free. RSPROXY uses http GET to call 
remote
methods which limits the amount of parameters that can be passed. At 
some
point I'll recode it to use PUT and allow unlimited parameters.

Simphp.htm -- client test program

Simple.php3 -- server object being remoted

rs.inc -- server support for remote scripting in php3

Jon Smirl
[EMAIL PROTECTED]


===
Jon Haworth wrote:
 
 Hi Sharat,
 
  How do I communicate betwen an HTML page
  having JavaScript and a PHP server code without
  having to refresh the HTML page.
 
 I don't think this is possible: once PHP has run (and sent your Javascript
 to the browser), it's finished - you can't use it again until the next time
 the page loads.
 
 If you want to do this sort of thing you're looking at a Java applet or
 something along those lines.
 
 Cheers
 Jon
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php

simple.php3
Description: application/unknown-content-type-php3_auto_file


simphp.phtml
Description: application/unknown-content-type-phtml_auto_file


RSProxy.class
Description: application/unknown-content-type-javaclassfile


rs.js
Description: JavaScript source
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Communication between PHP Server code and HTML/JavaScriptclient without refreshing the page

2003-07-04 Thread Marek Kilimajer
There are several ways:
1. XML - many browsers don't support this
2. Load a form into a hidden iframe, then you can read variables from 
the form
3. Load javascript into a hidden iframe.

Sharat Hegde wrote:

Hello,

How do I communicate betwen an HTML page having JavaScript and a PHP server
code without having to refresh the HTML page. I was originally thinking of
having an invisible applet communicating to the server, but I am not sure
how this is done.
I am also considering XML and SOAP, but I am not sure about the following:
1. Where does the SOAP client reside - on the browser/html or on the server?
2. How do I communicate from my HTML page to the SOAP client?
Regards,
Sharat
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Communication between PHP Server code and HTML/JavaScript client without refreshing the page

2003-07-04 Thread Konstantin S. Kurilov
Hi,

Excuse, skip one file.
It is full set of RPC files.

 - Konstantin.

Konstantin S. Kurilov wrote:
 
 Hi,
 
 It is RPC software.
 
 I have used it. It work for me.
 
  - Konstantin
 
 ===
 Frn:  Jon Smirl [SMTP:[EMAIL PROTECTED]
 Skickat:  den 12 mars 1999 05:21
 Till:  [EMAIL PROTECTED]
 Angende:  [PHP3] RPC for PHP from the browser
 
 This is a port of Microsoft's remote scripting that supports PHP as
 the
 processing system instead of ASP. The Script directory is an exact
 copy of
 the download available from http://www.microsoft.com/scripting but is
 has
 been extracted out of the windows exe to allow access from Unix.
 
 Remote scripting allows RPC calls to PHP objects located at the
 server.
 These calls can be synchronous or asynchronous. You can build some
 really
 cool pages by combining DHTML and RPC. In the simple case this lets
 you
 change part of a page without causing a reload. Remote scripting is
 supposed
 to work in MSIE and Netscape, but I haven't checked it in Netscape.
 
 The MS client components are unchanged, you use RSPROXY.CLASS and
 RS.HTM
 exactly as you would for the ASP engine. The only thing to watch for
 is that
 PHP method names are not case sensitive and Javascript names are. The
 result
 is that you need to always use lower case method names from your HTML
 file.
 
 RS.INC replaces RS.ASP on the server. They should function exactly the
 same,
 if they don't let me know.
 
 RSPROXY.JAVA source code is available by buying MS Visual Interdev.
 They
 distribute the compiled class for free. RSPROXY uses http GET to call
 remote
 methods which limits the amount of parameters that can be passed. At
 some
 point I'll recode it to use PUT and allow unlimited parameters.
 
 Simphp.htm -- client test program
 
 Simple.php3 -- server object being remoted
 
 rs.inc -- server support for remote scripting in php3
 
 Jon Smirl
 [EMAIL PROTECTED]
 
 ===
 Jon Haworth wrote:
 
  Hi Sharat,
 
   How do I communicate betwen an HTML page
   having JavaScript and a PHP server code without
   having to refresh the HTML page.
 
  I don't think this is possible: once PHP has run (and sent your Javascript
  to the browser), it's finished - you can't use it again until the next time
  the page loads.
 
  If you want to do this sort of thing you're looking at a Java applet or
  something along those lines.
 
  Cheers
  Jon
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
   
   Name: simple.php3
simple.php3Type: PHP3 (application/x-unknown-content-type-php3_auto_file)
   Encoding: base64
 
Name: simphp.phtml
simphp.phtmlType: PHTML (application/x-unknown-content-type-phtml_auto_file)
Encoding: base64
 
 Name: RSProxy.class
RSProxy.classType: Java Class File 
 (application/x-unknown-content-type-javaclassfile)
 Encoding: base64
 
 Name: rs.js
rs.jsType: JavaScript Program (application/x-javascript)
 Encoding: 7bit

RSProxy.class
Description: application/unknown-content-type-javaclassfile


rs.js
Description: JavaScript source


simple.php3
Description: application/unknown-content-type-php3_auto_file


simphp.phtml
Description: application/unknown-content-type-phtml_auto_file


rs_php4.inc
Description: application/unknown-content-type-inc_auto_file
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Java Applet to PHP Communication

2003-07-02 Thread Sharat Hegde
Hello,

I need to be able to communicate from a Java Applet to a PHP program on the
server to enable Live Connect for data. This is what I intend to do:

In my web application, a Java Script program will call a Java Applet which
then calls the PHP program on the server. The PHP program works like a
servlet and passes the result back to the Java applet which passes the
information back to the JavaScript program.

How can a Java applet work with a PHP program? Are there any special
precautions / programming issues involved?

Thanks in advance

With Regards,
Sharat

*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Java Applet to PHP Communication

2003-07-02 Thread justin gruenberg
Sharat Hegde wrote:

Hello,

I need to be able to communicate from a Java Applet to a PHP program on the
server to enable Live Connect for data. This is what I intend to do:
In my web application, a Java Script program will call a Java Applet which
then calls the PHP program on the server. The PHP program works like a
servlet and passes the result back to the Java applet which passes the
information back to the JavaScript program.
How can a Java applet work with a PHP program? Are there any special
precautions / programming issues involved?
Thanks in advance

With Regards,
Sharat
Not anything that you wouldn't have to pay attention to in passing stuff 
between applications in other instances.

I'd use XML/SOAP to pass around the data.  There are many reasons to do 
this, I wont list them here just because there are plenty of articles on 
the web advocating the use of XML.  The added bonus is the buzzword factor.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Sharat Hegde
Thanks Justin,

Do you have any leads on where I can get info on accessing XML data using
SOAP from a Java Applet. I know how to parse XML data.

Regards,
Sharat Hegde
Phone: 6575800 Ext 4610
Direct: 6566615


-Original Message-
From: justin gruenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 1:27 PM
To: Sharat Hegde
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Java Applet to PHP Communication


Sharat Hegde wrote:

Hello,

I need to be able to communicate from a Java Applet to a PHP program on the
server to enable Live Connect for data. This is what I intend to do:

In my web application, a Java Script program will call a Java Applet which
then calls the PHP program on the server. The PHP program works like a
servlet and passes the result back to the Java applet which passes the
information back to the JavaScript program.

How can a Java applet work with a PHP program? Are there any special
precautions / programming issues involved?

Thanks in advance

With Regards,
Sharat

Not anything that you wouldn't have to pay attention to in passing stuff 
between applications in other instances.

I'd use XML/SOAP to pass around the data.  There are many reasons to do 
this, I wont list them here just because there are plenty of articles on 
the web advocating the use of XML.  The added bonus is the buzzword factor.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Java Applet to PHP Communication

2003-07-02 Thread Ray Hunter
you want to use either dom or saxon to parse the xml within java. So
your applet can call some class that loads, parses and then does
something with the xml.

Usually you want to use a sax parser for the speed, however you can use
a dom parser to manipulate the dom tree...

--
BigDog


On Wed, 2003-07-02 at 05:02, Sharat Hegde wrote:
 Thanks Justin,
 
 Do you have any leads on where I can get info on accessing XML data using
 SOAP from a Java Applet. I know how to parse XML data.
 
 Regards,
 Sharat Hegde
 Phone: 6575800 Ext 4610
 Direct: 6566615
 
 
 -Original Message-
 From: justin gruenberg [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 02, 2003 1:27 PM
 To: Sharat Hegde
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] Java Applet to PHP Communication
 
 
 Sharat Hegde wrote:
 
 Hello,
 
 I need to be able to communicate from a Java Applet to a PHP program on the
 server to enable Live Connect for data. This is what I intend to do:
 
 In my web application, a Java Script program will call a Java Applet which
 then calls the PHP program on the server. The PHP program works like a
 servlet and passes the result back to the Java applet which passes the
 information back to the JavaScript program.
 
 How can a Java applet work with a PHP program? Are there any special
 precautions / programming issues involved?
 
 Thanks in advance
 
 With Regards,
 Sharat
 
 Not anything that you wouldn't have to pay attention to in passing stuff 
 between applications in other instances.
 
 I'd use XML/SOAP to pass around the data.  There are many reasons to do 
 this, I wont list them here just because there are plenty of articles on 
 the web advocating the use of XML.  The added bonus is the buzzword factor.
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 *
 Disclaimer: The information in this e-mail and any attachments is
 confidential / privileged. It is intended solely for the addressee or
 addressees. If you are not the addressee indicated in this message, you may
 not copy or deliver this message to anyone. In such case, you should destroy
 this message and kindly notify the sender by reply email. Please advise
 immediately if you or your employer does not consent to Internet email for
 messages of this kind.
 *


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php