index.php File Reference

Entry point of a query the irJSON Converter web service. More...

Go to the source code of this file.

Variables

 $document = ""
if(isset($_POST['document'])) $docmime = "application/iron+json"
if(isset($_POST['docmime'])) $registered_ip = ""
if(isset($_POST['registered_ip'])) $include_dataset_description = "false"
if(isset($_POST['include_dataset_description'])) $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_irv = new ConverterIrJSON($document, $docmime, $include_dataset_description, $registered_ip, $requester_ip)
 $endtime = $mtime
 $totaltime = ($endtime - $starttime)
 $logger

Detailed Description

Entry point of a query the irJSON Converter web service.

Each time a query is sent to this web service, this index.php script will create 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 converter/irjson/index.php.


Variable Documentation

if (isset($_POST['document'])) $docmime = "application/iron+json"

Definition at line 60 of file converter/irjson/index.php.

$document = ""

Definition at line 45 of file converter/irjson/index.php.

$endtime = $mtime

Definition at line 125 of file converter/irjson/index.php.

if (isset($_POST['registered_ip'])) $include_dataset_description = "false"

Definition at line 74 of file converter/irjson/index.php.

$logger
Initial value:
 new Logger("converter/irv", $requester_ip, "--", $_SERVER['HTTP_ACCEPT'], $start_datetime, $totaltime,
  $ws_irv->pipeline_getResponseHeaderStatus(), $_SERVER['HTTP_USER_AGENT'])

Definition at line 128 of file converter/irjson/index.php.

$mtime = microtime()

Definition at line 81 of file converter/irjson/index.php.

if (isset($_SERVER['REMOTE_ADDR'])) $parameters = ""

Definition at line 95 of file converter/irjson/index.php.

if (isset($_POST['docmime'])) $registered_ip = ""

Definition at line 67 of file converter/irjson/index.php.

$requester_ip = "0.0.0.0"

Definition at line 88 of file converter/irjson/index.php.

$start_datetime = date("Y-m-d h:i:s")

Definition at line 86 of file converter/irjson/index.php.

$starttime = $mtime

Definition at line 84 of file converter/irjson/index.php.

$totaltime = ($endtime - $starttime)

Definition at line 126 of file converter/irjson/index.php.

if (isset($_SERVER['REQUEST_URI'])) elseif (isset($_SERVER['PHP_SELF'])) $ws_irv = new ConverterIrJSON($document, $docmime, $include_dataset_description, $registered_ip, $requester_ip)

Definition at line 113 of file converter/irjson/index.php.

Referenced by CrudRead::pipeline_serialize().

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