ID:               17063
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sureshkb at orillion dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         OCI8 related
 Operating System: Windows 2000
 PHP Version:      4.1.2
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-06-29 21:33:30] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-01-29 08:26:41] [EMAIL PROTECTED]

Moving this to OCI8, which is where OCIPLogon() belongs.
(this mess between the two Oracle extensions gotta end someday ....
argh..)

------------------------------------------------------------------------

[2002-05-07 04:38:05] sureshkb at orillion dot com

<?php
  include("TempStr.php");
function gendbins1($dbn,$tbn,$cols,$vals){
  global $info;
  global $debug;
        $result;
        
        $info['db']['proto'] = "TCP";
        $info['db']['ip'] = "192.168.1.133";
        $info['db']['port'] = "1521";
        $info['db']['sid'] = "ovdb";
        $info['db']['user'] = "logdata";
        $info['db']['pass'] = "logdata";
        $info['db']['oraspecs']="(DESCRIPTION = (ADDRESS = (PROTOCOL = " .
$info['db']['proto'] . ")(HOST = " . $info['db']['ip'] . ")(PORT = " .
$info['db']['port'] . "))(CONNECT_DATA = (SID = " . $info['db']['sid']
. ")))";

  $c1 = ociplogon($info[$dbn]['user'], $info[$dbn]['pass'],
$info[$dbn]['oraspecs']);
  $q1 = "INSERT INTO $tbn $cols values :valdef";
        echo"<P>Query toinsert user is - $q1";
  $s1 = ociparse($c1, $q1);
  ocibindbyname($s1, ":valdef", &$vals);
  if($debug){$result = ociexecute($s1);} else {$result =
@ociexecute($s1);};
  ocicommit($c1);
  echo "The result from ins ==== $result";
};
$col=('FILTER');
$val="('$str')";
gendbins1('adm','XMLLONG',$col,$val);

?>


here the code i am using and $str is in "TempStr.php" file and i am
able to inserting the small strings(Aprox 2k) and i could not able to
insert the big string. My table have only one column and datatype is
"long". My apache server and database are not in same mechine.  This is
the information i am providing.
Bye
Suresh

------------------------------------------------------------------------

[2002-05-07 03:05:07] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".


------------------------------------------------------------------------

[2002-05-07 00:38:26] sureshkb at orillion dot com

Here small change i am not able to insert the long string i.e more than
50k but i can able in insert 1k string.
Thanks,
Suresh

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/17063

-- 
Edit this bug report at http://bugs.php.net/?id=17063&edit=1

Reply via email to