Jump to content

Recommended Posts

It sounds like you need to develop and API that will allow external sites you interact with your website.  This can be done a ton of different ways.  One of the better ways is to use HTTP + some data format, like JSON.  This way people can make requests to your API and get back responses.  For example, an external site makes a request like this:

 

http://www.yoursite.com/api/do_this_action.php?param1=value1&param2=value2

 

Your API would take this request and do something with it, and return a response that would be something like this (in JSON):

 

{"response":0}

 

The curl library allows you to make HTTP requests and retrieve responses.

A SOAP webservice would do the trick.  SOAP is not something you install necessarily, its a protocol.  If you have a fully functioning, compliant SOAP webservice your clients should be able to use almost any language they want, be it PHP, Python, Ruby, ASP.NET etc..

great! ive looked at a few tutorials, (about 3 that i could find) and none of them worked. is there anywhere that i can look for help? im a complete beginner at soap, and i need lots of help as i am on a deadline. any ideas what i should do?

I know php has built in SOAP client/server classes but I dont know how well they work.  A few years ago when I was working on PHP SOAP stuff we used nusoap http://www.scottnichol.com/nusoapintro.htm

 

Maybe there are some good example using nusoap on the web.

    Sorry but I have to agree with flyhoney on this one, time to site down and tinker. Besides that is the best way to learn in my experience. Good luck and have fun. Also to help you out in the future, do not set deadlines for things you do not understand and if you have to; be extra generous.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.