index.php File Reference
Entry point of a query the Converter Bibtex web service. More...
Go to the source code of this file.
Variables | |
| $document = "" | |
| $url = "" | |
| $base_uri = "http://www.baseuri.com/resource/" | |
| if(isset($_POST['document'])) | $docmime = "application/x-bibtex" |
| if(isset($_POST['docmime'])) if(isset($_POST['base_uri'])) | $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_cbibtex = new ConverterBibtex($document, $docmime, $base_uri, $registered_ip, $requester_ip) |
| $endtime = $mtime | |
| $totaltime = ($endtime - $starttime) | |
| $logger | |
Detailed Description
Entry point of a query the Converter Bibtex 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.
Definition in file converter/bibtex/index.php.
Variable Documentation
| $base_uri = "http://www.baseuri.com/resource/" |
Definition at line 53 of file converter/bibtex/index.php.
Referenced by ConverterTsv::__construct(), and ConverterBibtex::__construct().
| if (isset($_POST['document'])) $docmime = "application/x-bibtex" |
Definition at line 60 of file converter/bibtex/index.php.
| $document = "" |
Definition at line 42 of file converter/bibtex/index.php.
Referenced by ConverterTsv::__construct(), ConverterIrJSON::__construct(), and ConverterBibtex::__construct().
| $endtime = $mtime |
Definition at line 123 of file converter/bibtex/index.php.
| $logger |
Initial value:
new Logger("converter/bibtex", $requester_ip, "?text=-&type=" . $type . "&base_uri=" . $base_uri . "&requester_ip=$requester_ip", $_SERVER['HTTP_ACCEPT'], $start_datetime, $totaltime, $ws_cbibtex->pipeline_getResponseHeaderStatus(), $_SERVER['HTTP_USER_AGENT'])
Definition at line 126 of file converter/bibtex/index.php.
| $mtime = microtime() |
Definition at line 79 of file converter/bibtex/index.php.
| if (isset($_SERVER['REMOTE_ADDR'])) $parameters = "" |
Definition at line 93 of file converter/bibtex/index.php.
| if (isset($_POST['docmime'])) if (isset($_POST['base_uri'])) $registered_ip = "" |
Definition at line 72 of file converter/bibtex/index.php.
| $requester_ip = "0.0.0.0" |
Definition at line 86 of file converter/bibtex/index.php.
| $start_datetime = date("Y-m-d h:i:s") |
Definition at line 84 of file converter/bibtex/index.php.
| $starttime = $mtime |
Definition at line 82 of file converter/bibtex/index.php.
| $totaltime = ($endtime - $starttime) |
Definition at line 124 of file converter/bibtex/index.php.
| $url = "" |
Definition at line 43 of file converter/bibtex/index.php.
Referenced by ConverterTsv::get_domain(), and ConverterIrJSON::get_domain().
| if (isset($_SERVER['REQUEST_URI'])) elseif (isset($_SERVER['PHP_SELF'])) $ws_cbibtex = new ConverterBibtex($document, $docmime, $base_uri, $registered_ip, $requester_ip) |
Definition at line 111 of file converter/bibtex/index.php.
