Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php //print_r($_SERVER); //print_r($_ENV); //echo "ORACLE_HOME:".getenv("ORACLE_HOM..

Decoded Output download

<?php 
 
//print_r($_SERVER); 
//print_r($_ENV); 
//echo "ORACLE_HOME:".getenv("ORACLE_HOME"); 
//echo "LD_LIBRARY_PATH:".getenv("LD_LIBRARY_PATH"); 
////echo(getenv('ENVIRONMENT')); 
////putenv("ORACLE_HOME=/u01/app/oracle/product/12.1.0.2.0/db_1"); 
////putenv("LD_LIBRARY_PATH=/u01/app/oracle/product/12.1.0.2.0/db_1/lib"); 
// 
//putenv("ORACLE_HOME=".getenv("ORACLE_HOME")); 
//putenv("LD_LIBRARY_PATH=".getenv("LD_LIBRARY_PATH")); 
// 
$conn = oci_connect('ibs', 'ibs', 'dsl4.szamorgdata.hu/orcl'); 
//$conn = oci_connect('ibs', 'ibs', '195.56.150.170/orcl'); 
 
if (!$conn) { 
    $e = oci_error(); 
    trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); 
} 
 
$stid = oci_parse($conn, 'SELECT * FROM tv'); 
oci_execute($stid); 
 
//while ($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) { 
//    foreach ($row as $item) { 
//        echo "" . ($item !== null ? htmlentities($item, ENT_QUOTES) : "") . "
"; 
//    } 
//} 
 
while (($row = oci_fetch_object($stid)) != false) { 
    // Use upper case attribute names for each standard Oracle column 
    echo $row->V_NEV . "<br>
"; 
    //echo $row->SZERV . "<br>
"; 
} 
 
//export NLS_LANG='AMERICA.AL32UTF8' 
?> 

Did this file decode correctly?

Original Code

<?php

//print_r($_SERVER);
//print_r($_ENV);
//echo "ORACLE_HOME:".getenv("ORACLE_HOME");
//echo "LD_LIBRARY_PATH:".getenv("LD_LIBRARY_PATH");
////echo(getenv('ENVIRONMENT'));
////putenv("ORACLE_HOME=/u01/app/oracle/product/12.1.0.2.0/db_1");
////putenv("LD_LIBRARY_PATH=/u01/app/oracle/product/12.1.0.2.0/db_1/lib");
//
//putenv("ORACLE_HOME=".getenv("ORACLE_HOME"));
//putenv("LD_LIBRARY_PATH=".getenv("LD_LIBRARY_PATH"));
//
$conn = oci_connect('ibs', 'ibs', 'dsl4.szamorgdata.hu/orcl');
//$conn = oci_connect('ibs', 'ibs', '195.56.150.170/orcl');

if (!$conn) {
    $e = oci_error();
    trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
}

$stid = oci_parse($conn, 'SELECT * FROM tv');
oci_execute($stid);

//while ($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS)) {
//    foreach ($row as $item) {
//        echo "" . ($item !== null ? htmlentities($item, ENT_QUOTES) : "") . "\n";
//    }
//}

while (($row = oci_fetch_object($stid)) != false) {
    // Use upper case attribute names for each standard Oracle column
    echo $row->V_NEV . "<br>\n";
    //echo $row->SZERV . "<br>\n";
}

//export NLS_LANG='AMERICA.AL32UTF8'
?>

Function Calls

oci_connect 1

Variables

None

Stats

MD5 996b7fa91e24a80fb196d3c8364cc7e3
Eval Count 0
Decode Time 87 ms