Results 1 to 2 of 2

Thread: need help with a function

  1. #1
    Join Date
    Jun 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default need help with a function

    Hello,
    I wanna create a simple webservice that sum two digits, that means when i send 2 , 4 to the function it returns 6.

    Note: that my server support SOAP

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    What exactly is the purpose of this? What format will the data be in?

    If you get variables $x and $y:
    echo $x+$y;

    Why would you use SOAP? PHP can do this by default, depending on how the data is submitted.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •