Sindbad~EG File Manager

Current Path : /home/beeson/public_html/helpwithmath/
Upload File :
Current File : //home/beeson/public_html/helpwithmath/WebGradesService.php

<?php 
function submitHomework($studentNumber, $filename, $topic, $problemNumber) 
// Store the given number in the webgrades database
// for now, just give some sign that it has actually received the data
// return 0 for success or 1 for invalid studentNumber
// or 2 if for some reason the database entry failed.

{  
     

 return 0;  // for now, all queries succeed
} 


function validateNumber($university, $studentNumber )
// check if this student is enrolled at this university (or university and class combined into one variable)
// 
{  return 1;  // for now all numbers are valid
}

ini_set("soap.wsdl_cache_enabled", "0");    // is this what I want?
$server = new SoapServer("catalog.wsdl"); 
$server->addFunction("submitHomework"); 
$server->addFunction("validateNumber");
$server->handle(); 

?>

 




 


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists