index.php File Reference

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

Go to the source code of this file.

Variables

 $registered_ip = ""
if(isset($_POST['registered_ip'])) $dataset = ""
if(isset($_POST['dataset'])) $document = ""
if(isset($_POST['document'])) $mime = ""
if(isset($_POST['mime'])) $mode = "full"
if(isset($_POST['mode'])) $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_crudcreate = new CrudCreate($document, $mime, $mode, $dataset, $registered_ip, $requester_ip)
 $endtime = $mtime
 $totaltime = ($endtime - $starttime)
 $logger

Detailed Description

Entry point of a query for the Create 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 crud/create/index.php.


Variable Documentation

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

Definition at line 58 of file crud/create/index.php.

if (isset($_POST['dataset'])) $document = ""

Definition at line 66 of file crud/create/index.php.

$endtime = $mtime

Definition at line 133 of file crud/create/index.php.

$logger
Initial value:
 new Logger("crud_create", $requester_ip,
  "?document=" . substr($document, 0, 64) . "&mime=" . $mime . "&dataset=" . $dataset . "&registered_ip="
  . $registered_ip . "&requester_ip=$requester_ip", $_SERVER['HTTP_ACCEPT'], $start_datetime, $totaltime,
  $ws_crudcreate->pipeline_getResponseHeaderStatus(), $_SERVER['HTTP_USER_AGENT'])

Definition at line 136 of file crud/create/index.php.

if (isset($_POST['document'])) $mime = ""
if (isset($_POST['mime'])) $mode = "full"

Definition at line 82 of file crud/create/index.php.

$mtime = microtime()

Definition at line 89 of file crud/create/index.php.

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

Definition at line 103 of file crud/create/index.php.

$registered_ip = ""

Definition at line 50 of file crud/create/index.php.

$requester_ip = "0.0.0.0"

Definition at line 96 of file crud/create/index.php.

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

Definition at line 94 of file crud/create/index.php.

$starttime = $mtime

Definition at line 92 of file crud/create/index.php.

$totaltime = ($endtime - $starttime)

Definition at line 134 of file crud/create/index.php.

if (isset($_SERVER['REQUEST_URI'])) elseif (isset($_SERVER['PHP_SELF'])) $ws_crudcreate = new CrudCreate($document, $mime, $mode, $dataset, $registered_ip, $requester_ip)

Definition at line 121 of file crud/create/index.php.

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