473,399 Members | 3,603 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,399 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 1516

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.