pls help me out i got this error its veru urgunt.
my php script is proper here belove:
<?php
2 PutEnv("$ORACLE_SID=oracle");
3 echo "DEBUG:--->connecting oracle<BR>";
4 echo "DEBUG:--11111--------------------------<><BR>";
5 $connection = OCILogon("system","manager");
6 if ($connection == false){
7 echo "DEBUG:------2222----------------------<><BR>";
8 echo OCIError($connection).":".OCIError($connection)."<BR>";
9 exit;
10 }
11
12
13 $query = "insert into emp values ('ppp','pa')";
14 $cursor = OCIParse($connection, $query);
15 if ($cursor == false){
16 echo OCIError($cursor).":".OCIError($cursor)."<BR>";
17 exit;
18 }
19
20 $result = OCIExecute($cursor);
21 if ($result == false){
22 echo OCIError($cursor).":".OCIError($cursor)."<BR>";
23 exit;
}
11
12
13 $query = "insert into emp values ('ppp','pa')";
14 $cursor = OCIParse($connection, $query);
15 if ($cursor == false){
16 echo OCIError($cursor).":".OCIError($cursor)."<BR>";
17 exit;
18 }
19
20 $result = OCIExecute($cursor);
21 if ($result == false){
22 echo OCIError($cursor).":".OCIError($cursor)."<BR>";
23 exit;
24 }
25
26 OCICommit($connection);
27 OCILogoff($connection);
28
29 echo "DEBUG:--->insert sucessfully in oracle<BR>";
30 ?>
what is the probelm no buby know some says
modify listner.ora some say modify tnslsnr.ora so
exacly what is the solution anybody know than pls send me
thaks
vishal