If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

PHP_XML_Socket

Hi im having a bit of problem with some code, im really unsure how its meant to be designed to work, this is just a simple tutorial which they have put in a few different files, of which i dont even know how they include each other.

Its just meant to bring up some test data, but i just get a configured incorrectly error.

What's complaining about incorrect configurations? The internal methods, or the result from the server? There are a lot of errors in that first script from non-existing variables to syntactical failures. The second looks like it's job is to generate the output but if it isn't including the first script after it than that is also useless. The third appears to be a resultant, but we haven't a clue how you get there or what it means. For that you need to consult the technical docs from the provider.
If you are getting a result in the third, that indicates a lot has been removed from the first before posting it here.

I'm not going to read through an entire API.
What is complaining? The internal functions or the results of the server? If its the results of the server, then it sounds like there is no issue with whatever code you are using (not this code since its syntactically incorrect so will never run without throwing an error). That will require you to consult with the remote website and their documentation to determine what you need to do in order to communicate properly between the server and client.

If its an internal configuration error then we can help with that. But you need to specify what it is.