I am trying to implement a simple JSON-RPC server.The client part is handled by the jquery.jsonrpc. This seems to work fine, sending a JSON-RPC message as the payload of a post message.
I was testing my PHP application on localhost with Xamppp and everything was just fine, but when I exported it to a real server, it does not work anymore. I found out that it is because my server does
Here\'s the deal, i h开发者_运维百科ave 2 models: Rus and Audios. I want to use records from Audios in Rus controller, so i go and type in associations like this:
I am getting a really frustrating problem with my php script below.Everything works as expected on my local machine using XAMPP, but when I put it on the web I get:
I have a script that uses a PHP 5 syntax that\'s apparently not supported in PHP 4. like MyClass::method()->method(...)
I\'m having a problem with my customer\'s host. The host has configured the server in a way that php4 and php5 co-exist.
I\'m sending a stringof XML tags and data in PHP to an API on another server that is expecting XML. we are sending the string via command line like this
I have a simple example of PHP sessions and AJAX, which works when holding an array in session: Request file:
is it possible t开发者_高级运维o create a singleton class in PHP 4? Right now I have something like http://pastebin.com/4AgZhgAA which doesn\'t even get parsed in PHP 4
This question already has answers here: How do you parse and process HTML/XML in PHP? (31 answers) Closed 9 years ago.