Ignore:
Timestamp:
Feb 16, 2015, 10:45:52 PM (9 years ago)
Author:
djay
Message:

Add the PHP ZOO-API, fix issue if ZTS is not defined, correct loading of the PHP script depending of the ZOO-Kernel location, use a ZEND_HANDLE_FD rather than the ZEND_HANDLE_FP used before, correct location of the hello.php service.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/hello-php/cgi-env/hello.php

    r573 r586  
    2626
    2727function HelloPHP(&$main_conf,&$inputs,&$outputs){
    28   $outputs=Array();
    29   $outputs["Result"]["value"]="Hello ".$inputs[S][value]." from the PHP world !!";
    30   return 3;
     28  $tmp="Hello ".$inputs["S"]["value"]." from the PHP world !!";
     29  $outputs["Result"]["value"]=zoo_Translate($tmp);
     30  zoo_UpdateStatus($main_conf,"Final step",99);
     31  return zoo_SERVICE_SUCCEEDED();
    3132}
    3233
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png