forked from scieloorg/Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscielolog.php
33 lines (26 loc) · 963 Bytes
/
scielolog.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
include ("classScieloLogOfi.php");
// Create new Scielo object
$host = $HTTP_HOST;
$scielo = new ScieloLog ($host);
$script = $_REQUEST["script"];
$dti = $_REQUEST["dti"];
$dtf = $_REQUEST["dtf"];
$access = $_REQUEST["access"];
$cpage = $_REQUEST["cpage"];
$nlines = $_REQUEST["nlines"];
$pid = $_REQUEST["pid"];
$lng = $_REQUEST["lng"];
$nrm = $_REQUEST["nrm"];
$order = $_REQUEST["order"];
$tpages = $_REQUEST["$tpages"];
$maccess = $_REQUEST["maccess"];
$scielo->SetPreferedMethod ("POST");
// Generate wxis url and set xml url
$xml = $scielo->GenerateXmlUrl($script,$dti,$dtf,$access,$cpage,$nlines,$pid,$lng,$nrm,$order,$tpages,$maccess);
$scielo->SetXMLUrl ($xml);
// Generate xsl url and set xsl url
$xsl = $scielo->GenerateXslUrl();
$scielo->SetXSLUrl ($xsl);
$scielo->ShowPage($script,$dti,$dtf,$access,$cpage,$nlines,$pid,$lng,$nrm,$order,$tpages,$maccess);
?>