I'm trying to communicate with an oracle DB using a web layer.
So, on my server i have this PHP file:
Code: Select all
<?
function eseguiSQL ($conn, $querySQL)
{
$stmt0 = oci_parse($conn, $querySQL);
oci_execute($stmt0);
return($stmt0);
}
// get string from caller
$stringa=$_GET['stringa'];
$array = explode("|", $stringa);
$querySQL=$array[0];
$operazione=$array[1];
etc etc...
?>
Code: Select all
POST tPost to URL "http://portal.tenax.spa/app_sql_oracle.php"
Obviously nothing work....
I think it's the GET function in the php file that don't match with my post function....
Can anyone help me?