title: ORA-24374 error in php script
body: <p>When I try to execute script</p>
  
  <pre>
        PutEnv("TNS_ADMIN='C:\\Programy\\OracleDeveloper10g\\NETWORK\\ADMIN\\'");
        $conn = oci_connect(user, pass, dbstring);
        if (!$conn)
        {
          $e = oci_error();
          print htmlentities($e['message']);
          exit;
        }
        else
        {
          $stmt = OCIParse($conn, "SELECT * FROM USERS WHERE username = 'szymon'");
          OCIExecute($stmt, OCI_DEFAULT);
    while ($row = oci_fetch_array($stmt, OCI_ASSOC+OCI_RETURN_NULLS)) {
    foreach ($row as $item) {
     $password = $item;
    }
          if ($password != $_POST['password']){
            $stmt = OCIParse($conn, "EXECUTE clr_dtbs");
            $message = 'Tabele zostały usunięte';
          }
          else {
            $message = 'Podane hasło jest niepoprawne';
          }
        }
     }
  </pre>
  
  <p>I get ORA-24374 error. </p>