index.php File Reference

Entry point of a query for the Auth Registration web service. More...

Go to the source code of this file.

Variables

 $title = ""
if(isset($_GET['title'])) $endpoint = ""
if(isset($_GET['endpoint'])) $crud_usage = ""
if(isset($_GET['crud_usage'])) $ws_uri = ""
if(isset($_GET['ws_uri'])) $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_arws = new AuthRegistrarWs($title, $endpoint, $crud_usage, $ws_uri, $requester_ip)
 $endtime = $mtime
 $totaltime = ($endtime - $starttime)
 $logger


Detailed Description

Entry point of a query for the Auth Registration 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 auth/registrar/ws/index.php.


Variable Documentation

if (isset($_GET['endpoint'])) $crud_usage = ""

Definition at line 59 of file auth/registrar/ws/index.php.

if (isset($_GET['title'])) $endpoint = ""

Definition at line 50 of file auth/registrar/ws/index.php.

$endtime = $mtime

Definition at line 118 of file auth/registrar/ws/index.php.

$logger

Initial value:

 new Logger("auth_registrar_ws", $requester_ip,
  "?title=" . substr($mode, 0, 64) . "&endpoint=" . $endpoint . "&crud_usage=" . $crud_usage . "&ws_uri=" . $ws_uri
  . "&requester_ip=$requester_ip",
  $_SERVER['HTTP_ACCEPT'], $start_datetime, $totaltime, $ws_arws->pipeline_getResponseHeaderStatus(),
  $_SERVER['HTTP_USER_AGENT'])

Definition at line 121 of file auth/registrar/ws/index.php.

$mtime = microtime()

Definition at line 74 of file auth/registrar/ws/index.php.

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

Definition at line 88 of file auth/registrar/ws/index.php.

$requester_ip = "0.0.0.0"

Definition at line 81 of file auth/registrar/ws/index.php.

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

Definition at line 79 of file auth/registrar/ws/index.php.

$starttime = $mtime

Definition at line 77 of file auth/registrar/ws/index.php.

$title = ""

Definition at line 42 of file auth/registrar/ws/index.php.

$totaltime = ($endtime - $starttime)

Definition at line 119 of file auth/registrar/ws/index.php.

if (isset($_SERVER['REQUEST_URI'])) elseif (isset($_SERVER['PHP_SELF'])) $ws_arws = new AuthRegistrarWs($title, $endpoint, $crud_usage, $ws_uri, $requester_ip)

Definition at line 106 of file auth/registrar/ws/index.php.

if (isset($_GET['crud_usage'])) $ws_uri = ""

Definition at line 67 of file auth/registrar/ws/index.php.

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