473,414 Members | 1,623 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,414 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 1517

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: 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
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.