index.php File Reference

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

Go to the source code of this file.

Variables

 $ip = ""
if(isset($_POST['ip'])) $datasets = ""
if(isset($_POST['datasets'])) $ws_uri = ""
if(isset($_POST['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_av = new AuthValidator($ip, $datasets, $ws_uri)
 $endtime = $mtime
 $totaltime = ($endtime - $starttime)
 $logger


Detailed Description

Entry point of a query for the Auth Validator 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/validator/index.php.


Variable Documentation

$endtime = $mtime

Definition at line 108 of file auth/validator/index.php.

$ip = ""

Definition at line 41 of file auth/validator/index.php.

$logger

Initial value:

 new Logger("auth_validator", $requester_ip, "?ip=" . $ip . "&datasets=" . $datasets . "&ws_uri=" . $ws_uri,
  $_SERVER['HTTP_ACCEPT'], $start_datetime, $totaltime, $ws_av->pipeline_getResponseHeaderStatus(),
  $_SERVER['HTTP_USER_AGENT'])

Definition at line 111 of file auth/validator/index.php.

$mtime = microtime()

Definition at line 64 of file auth/validator/index.php.

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

Definition at line 78 of file auth/validator/index.php.

$requester_ip = "0.0.0.0"

Definition at line 71 of file auth/validator/index.php.

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

Definition at line 69 of file auth/validator/index.php.

$starttime = $mtime

Definition at line 67 of file auth/validator/index.php.

$totaltime = ($endtime - $starttime)

Definition at line 109 of file auth/validator/index.php.

if (isset($_POST['datasets'])) $ws_uri = ""

Definition at line 57 of file auth/validator/index.php.

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