index.php File Reference

Entry point of a query for the SCONES web service. More...

Go to the source code of this file.

Variables

 $document = ""
if(isset($_POST['document'])) $docmime = "text/plain"
if(isset($_POST['docmime'])) $application = "defaultApplication"
if(isset($_POST['application'])) $registered_ip = ""
if(isset($_POST['registered_ip'])) $mtime = microtime()
 $starttime = $mtime
 $start_datetime = date("Y-m-d h:i:s")
 $requester_ip = "0.0.0.0"
if(isset($_SERVER['REMOTE_ADDR'])) $parameters = ""
if(isset($_SERVER['REQUEST_URI']))
elseif(isset($_SERVER['PHP_SELF'])) 
$ws_scones = new Sparql($document, $docmime, $application, $registered_ip, $requester_ip)
 $endtime = $mtime
 $totaltime = ($endtime - $starttime)
 $logger

Detailed Description

Entry point of a query for the SCONES web service.

Each time a query is sent to this web service, this index.php script will read the web service class and will process it. The resultset, or error, will be returned to the user in the HTTP header & body query.



Author:
Frederick Giasson, Structured Dynamics LLC.




Definition in file scones/index.php.

Copyright © 2009-2011. Structured Dynamics LLC Structured Dynamics LLC. All rights reserved.