ID: 8165
Updated by: thies
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: OCI8 related
Assigned To:
Comments:
i'm sure your problem will dissapear once you set all
oracle related env-vars *before* you start apache.
Previous Comments:
---------------------------------------------------------------------------
[2001-01-09 11:50:11] [EMAIL PROTECTED]
user feedback:
When I recompiled Apache with PHP 4.0.4 the problem seemed to have vanished.
Now a colleague reported that this happened again. An Apache restart did help. So far,
I couldn't figure out what the *real* problem was... As soon as I know, I'll report it
to bugs.php.net
---------------------------------------------------------------------------
[2001-01-07 19:51:40] [EMAIL PROTECTED]
Does this happen with PHP 4.0.4 ?
--Jani
---------------------------------------------------------------------------
[2000-12-08 07:39:01] [EMAIL PROTECTED]
We're using an Oracle 8051 with Apache 1.3.12. The following code fragment runs
faultless on PHP3.0.15, but produces one character output per column only on
PHP4.0.3pl1:
while (OCIFetch($Stmt)) {
echo " <TR>n ";
for ($Column=1; $Column < $NumCols; $Column++) {
$spalte_wert=trim(OCIResult($Stmt,$Column));
$spalte_typ=OCIColumnType($Stmt,$Column);
if($spalte_wert=="")
$spalte_wert=" ";
if($spalte_typ=="NUMBER")
$spalte_ausrichtung="RIGHT";
else
$spalte_ausrichtung="LEFT";
echo ('<TD ALIGN="'.$spalte_ausrichtung.'">');
echo "$spalte_wert";
echo "</TD>";
}
echo "n </TR>n";
}
The docs don't state any special treatment due to PHP4, so the code should be running
on PHP3 and on PHP4. Or am I wrong? To me it looks like a bug.
For further infos please mail to stated email address above. Ciao!
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8165&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]