Hi,

It is RPC software.

I have used it. It work for me.

 - Konstantin

===============================
FrЕn:  Jon Smirl [SMTP:[EMAIL PROTECTED]
Skickat:  den 12 mars 1999 05:21
Till:  [EMAIL PROTECTED]
AngЕende:  [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

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

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

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

Attachment: rs.js
Description: JavaScript source

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

Reply via email to