index.php File Reference

Entry point of a query for the Update 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'])) $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_crudupdate = new CrudUpdate($document, $mime, $dataset, $registered_ip, $requester_ip)
 $endtime = $mtime
 $totaltime = ($endtime - $starttime)
 $logger


Detailed Description

Entry point of a query for the Update web service.

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


Variable Documentation

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

Definition at line 57 of file crud/update/index.php.

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

Definition at line 65 of file crud/update/index.php.

$endtime = $mtime

Definition at line 124 of file crud/update/index.php.

$logger

Initial value:

 new Logger("crud_update", $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_crudupdate->pipeline_getResponseHeaderStatus(), $_SERVER['HTTP_USER_AGENT'])

Definition at line 130 of file crud/update/index.php.

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

Definition at line 73 of file crud/update/index.php.

$mtime = microtime()

Definition at line 80 of file crud/update/index.php.

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

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

$registered_ip = ""

Definition at line 49 of file crud/update/index.php.

$requester_ip = "0.0.0.0"

Definition at line 87 of file crud/update/index.php.

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

Definition at line 85 of file crud/update/index.php.

$starttime = $mtime

Definition at line 83 of file crud/update/index.php.

$totaltime = ($endtime - $starttime)

Definition at line 125 of file crud/update/index.php.

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

Definition at line 112 of file crud/update/index.php.

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