From: pkiddie <pk...@us...> - 2005-08-30 16:35:10
|
Update of /cvsroot/stack/stack-1-0/scripts/rqp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25387/scripts/rqp Modified Files: RQPv1p0Server.php nb_soapfuncs.php Log Message: Index: RQPv1p0Server.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/rqp/RQPv1p0Server.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RQPv1p0Server.php 30 Aug 2005 10:28:01 -0000 1.3 --- RQPv1p0Server.php 30 Aug 2005 16:34:57 -0000 1.4 *************** *** 2,7 **** include("nb_easyxml_lite.php"); include("nb_soapfuncs.php"); ! include("../../stackstd.php"); //include("rqp_util.php"); //Stack/RQP utility function. /********* Data structures used by this web service ********* --- 2,9 ---- include("nb_easyxml_lite.php"); include("nb_soapfuncs.php"); ! //include("../../stackstd.php"); //include("rqp_util.php"); //Stack/RQP utility function. + include("../../stackConfig.php"); + include("../../stackLib.php"); /********* Data structures used by this web service ********* *************** *** 52,56 **** /* You need to tell STACK where it is, to create accurate URL's */ $stack_host = 'localhost'; ! $stack_basepath = 'stack-1-0'; /* The URL of the site, with trailing slash */ /* (You should not need to edit below) */ --- 54,58 ---- /* You need to tell STACK where it is, to create accurate URL's */ $stack_host = 'localhost'; ! $stack_basepath = 'stack-1-0-dev_rqp'; /* The URL of the site, with trailing slash */ /* (You should not need to edit below) */ *************** *** 210,214 **** function RQP_ServerInformation() { ! include("../../stackstd.php"); //Reqd for version info for STACK global $stack_ver, $stack_web_url, $stack_web_services_provide; --- 212,216 ---- function RQP_ServerInformation() { ! //include("../../stackstd.php"); //Reqd for version info for STACK global $stack_ver, $stack_web_url, $stack_web_services_provide; *************** *** 387,391 **** $output = array('title' => '', //initially question will have no title //remoteCaller = true ! 'body' => stack_question_edit_form_substance($question,&$errors, $namePrefix, TRUE), 'stem' => '', 'feedback' => '', --- 389,393 ---- $output = array('title' => '', //initially question will have no title //remoteCaller = true ! 'body' => stack_question_edit_form_substance($question,$errors, $namePrefix, TRUE), 'stem' => '', 'feedback' => '', Index: nb_soapfuncs.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/rqp/nb_soapfuncs.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** nb_soapfuncs.php 30 Aug 2005 10:28:01 -0000 1.3 --- nb_soapfuncs.php 30 Aug 2005 16:34:57 -0000 1.4 *************** *** 73,77 **** stream_set_timeout($sock, 2); stream_set_blocking($sock, false); ! //echo "<pre>".htmlentities($request)."</pre>"; // Uncomment this for debugging if($sock == false) --- 73,77 ---- stream_set_timeout($sock, 2); stream_set_blocking($sock, false); ! echo "<pre>".htmlentities($request)."</pre>"; // Uncomment this for debugging if($sock == false) *************** *** 139,143 **** fclose($sock); } ! //echo "<pre>" . htmlentities($contents) . "</pre>"; // Uncomment this for debugging return $contents; } --- 139,143 ---- fclose($sock); } ! echo "<pre>" . htmlentities($contents) . "</pre>"; // Uncomment this for debugging return $contents; } *************** *** 159,163 **** $sock = fsockopen($urldata['host'],$urldata['port'], $errno, $errmsg, 30); stream_set_blocking($sock, false); ! //echo "<pre>".htmlentities($request)."</pre>"; // Uncomment this for debugging if($sock == false) --- 159,163 ---- $sock = fsockopen($urldata['host'],$urldata['port'], $errno, $errmsg, 30); stream_set_blocking($sock, false); ! echo "<pre>".htmlentities($request)."</pre>"; // Uncomment this for debugging if($sock == false) *************** *** 174,178 **** fclose($sock); } ! //echo "<pre>" . htmlentities($contents) . "</pre>"; // Uncomment this for debugging return $contents; --- 174,178 ---- fclose($sock); } ! echo "<pre>" . htmlentities($contents) . "</pre>"; // Uncomment this for debugging return $contents; |