!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/opt/alt/php56/usr/share/doc/pear/File_MARC/examples/   drwxr-xr-x
Free 234.4 GB of 981.82 GB (23.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     marc_yaz.php (1.21 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$dir 
dirname(__FILE__);
require 
'File/MARC.php';

// Define the usable fields for our CCL query
$ccl_fields = array(
    
"ti" => "1=4",
    
"au"  => "1=1",
    
"isbn" => "1=7"
);

// Declare the array that will hold the parsed results
$ccl_results = array();

// Connect to the laurentian.ca Z39.50 server
$conn yaz_connect('142.51.8.7:2200/UNICORN');
yaz_ccl_conf($conn$ccl_fields);

// Define our query for a most excellent text
$ccl_query "ti='derby' and au='scott'";

// Parse the CCL query into yaz's native format
$result yaz_ccl_parse($conn$ccl_query$ccl_results);
if (!
$result) {
    echo 
"Error: " $ccl_results['errorstring'];
    exit();
}

// Submit the query
$rpn $ccl_results['rpn'];
yaz_search($conn'rpn'$rpn);
yaz_wait();

// Any errors trying to retrieve this record?
$error yaz_error($conn);
if (
$error) {
    print 
"Error: $error\n";
    exit();
}

// Retrieve the first MARC record as raw MARC
$rec yaz_record($conn1"raw");
if (!
$rec) {
    print 
"Error: Retrieved no results.\n";
    exit();
}

// Parse the retrieved MARC record
$marc_file = new File_MARC($recFile_MARC::SOURCE_STRING); 

while (
$marc_record $marc_file->next()) {
    print 
$marc_record;
    print 
"\n";
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0114 ]--