SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: function needed

  1. #1
    SitePoint Addict
    Join Date
    Sep 2008
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    function needed

    hi guys,
    i want to know how to create a simple webservice function.
    in which i can pass for it : Myname='John';

    and get a response from webservice: Welcome John.

    thats all.. waiting your reply's

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,189
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    PHP have documentation about web service coding, if im understanding correctly the link below should help.

    http://php.net/manual/en/refs.webservice.php

  3. #3
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is bit a long process to prepare a web service since it has some factors you need to understand before you develop a web service. So it is better to go through some tutorials :

    http://onlamp.com/pub/a/php/2007/07/...-services.html

    And also go through PHP SOAP Server and Client pages
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  4. #4
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have given a simple example to add two numbers here
    http://www.sitepoint.com/forums/show...34&postcount=4

    Hope this will help you.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5


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
  •