index.php File Reference

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

Go to the source code of this file.

Variables

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

Detailed Description

Entry point of a query the CommON 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/common/index.php.


Variable Documentation

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

Definition at line 55 of file converter/common/index.php.

$document = ""

Definition at line 42 of file converter/common/index.php.

$endtime = $mtime

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

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

Definition at line 116 of file converter/common/index.php.

$mtime = microtime()

Definition at line 69 of file converter/common/index.php.

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

Definition at line 83 of file converter/common/index.php.

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

Definition at line 62 of file converter/common/index.php.

$requester_ip = "0.0.0.0"

Definition at line 76 of file converter/common/index.php.

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

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

$starttime = $mtime

Definition at line 72 of file converter/common/index.php.

$totaltime = ($endtime - $starttime)

Definition at line 114 of file converter/common/index.php.

if (isset($_SERVER['REQUEST_URI'])) elseif (isset($_SERVER['PHP_SELF'])) $ws_common = new ConverterCommon($document, $docmime, $registered_ip, $requester_ip)

Definition at line 101 of file converter/common/index.php.

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