473,385 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

php:xmlrpc server methods inside my class?

Hi I have been researching on the net and I cannot find out anything
that mentions about if the php xmlrpc server methods can be put inside
of a class. And the javascript client can call the methods.

like
class Server
{
var $functionMap;

function methodA()
{
return new xmlrpcresp(xmlrpc_encode(1));
}

function Server()
{
return new xmlrpc_server($this->functionMap);
}
}

$server = new Server();

Thanks

Jul 17 '05 #1
0 1511

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Artco News | last post by:
How to get Windows XP Server(where PHP Server is running) environment variables? I use the echo $_ENV seem to not working. The same for any other environment variables. I'm running PHP-4.3.4...
1
by: Phil Powell | last post by:
http://www.phpbuilder.com/board/showthread.php?s=b93aeba2a407ce463fee98450a599299&postid=10541092#post10541092 I can't explain it better than to show you my thread Environments: PHP 4.1.2 and...
0
by: glin | last post by:
Hi I have been researching on the net and I cannot find out anything that mentions about if the php xmlrpc server methods can be put inside of a class. And javascript client can call the methods. ...
1
by: Don | last post by:
Hi, I did a php script and tested with the browser by giving the full path of script as URL under a domain name (ex : http://www.AAA-tech.com/TEST/myScript.php), it works fine. Then I launched...
2
by: motlagh20 | last post by:
I am using BELLMailer.php inside my tpl file, when the page called the BELLMailer.php loads inside my tpl file, but after filling the mailer form and submiting the form the BELLMailer doesnt work and...
7
by: Electric Co. | last post by:
Hello, note: This is for a Faculty web site that is undergoing a migration to an open source solution so my motives are legit. I need to build a relay from IIS handling URL_A to a PHP server...
1
by: empiresolutions | last post by:
I need to run PHP inside a Word Press Page/Post WITHOUT use of an additional plugin or editing the WP code. Is it possible?
7
by: wwhitman | last post by:
I'm having issues transferring a file from a WEB client running a C++ application to a PHP server script. I have debugged through the C++ side and no errors are reported, but the file does not appear...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.