Re: [PHP-DEV] strange problem with php/apache/oracle From: Andy Pahne (ap <email protected>)
Date: 02/04/00

No, no, you got me wrong. I checked the tags in the first place, even with a
validator, but HTML is definetly not the problem.

If I acces ine and the same page with the two different browsers, I do get
different HTML-sources and not one source that gets rendered differently.

Here is a snip out of the code I get with IE:

[...]
<table border=1>
  <tr>
<td><b> LANGUAGE_CODE</b></td>
<td><b> LANGUAGE_DESC</b></td>
  </tr>
  <tr>
    <td> D</td>
    <td> D e u t s c h</td>
  </tr>
  <tr>
    <td> F</td>
    <td> F r a n c a i s</td>
  </tr>
</table>
[...]

If I access the same page with Navigator, I get the following result:

[...]
<table border=1>
  <tr>
<td><b> LANGUAGE_CODE</b></td>
<td><b> LANGUAGE_DESC</b></td>
  </tr>
  <tr>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td></td>
    <td></td>
  </tr>
</table>
[...]

The first one is what I am expecting, but only getting in IE4Žand IE5.

Strange enough: if I choose to download the page in Navigator, I get the
result as expected (with all the values inbetweneen the <td>'s, but not if
Netscape renders it.

So: I get a different html-sources, depending on the browser. (Sometimes
that is what you want, but then you have an idea, why that happens.)

I'm gonna put the php-source on the net, too. You will find it at:

  http://www.net22.net/php-problem/php-source.html

Andy
ap <email protected>

----- Original Message -----
From: Evandro Piana <ep <email protected>>
To: Andy Pahne <ap <email protected>>
Sent: Friday, February 04, 2000 3:14 PM
Subject: Re: [PHP-DEV] strange problem with php/apache/oracle

> Hi Andy,
>
> Give a look if you closed all tags, if you leave any open, it's happen.
> If you to wish send me your code for me give a look.
>
> Evandro
>
>
> Andy Pahne wrote:
>
> > Hi there, I have a strange problem and at the moment I'm trying to find
out,
> > what exactly the problem is.
> >
> > I am using php 3.0.14 as an Apache Module on Apache 1.3.9 on a Redhat
Linux
> > 6.0 machine. I am accessing an Oracle 8.0.5i database that runs on the
same
> > machine.
> > There was a lot of hassle with connecting the database with php, but
after
> > all - with the help of the user suggestions in the php-manual, I
managed.
> >
> > I have a little database running, and I copied one of the example (the
one
> > given in the manual within the function reference of
OCIFetchStatemenet).
> > When I try to access the page that should give my a little overview over
one
> > whole table, I get the right results with Microsoft Internet Explorer
ver. 4
> > and 5, but I only get an empty table with Netscape, all versions.
> >
> > I thought that it would be just one of those all-days "Hey they mostly
> > render content in different ways"-problems,
> > but when I had a look at the source of the php-generated page, it was
> > strange: there was not a difference in rendering, but a differnece in
the
> > html-source-code.
> > Netscape showed of with an empty html-table. (The structure is actually
> > there, all the <tr> <td> </td> </tr> etc, but actually containing no
data.)
> >
> > The strangeness goes further: If I choose to download the same page via
the
> > File-Save Menu, Netscape saves the result as I expected - with values!!!
> >
> > I have taken the two result-pages as static versions on the web, if you
like
> > to have a look:
> > http://www.net22.net/php-problem/result-ie.html
> > http://www.net22.net/php-problem/result-nav.html
> > http://www.net22.net/php-problem/result-nav-download.html
> >
> > I tried to reproduce the problem on an Netscape Enterprise Web-Server
> > running the cgi-version of php on my developement-machine, but then
> > everything worked fine with both browsers.
> > That fact made me think, if I have an Apache-related problem here.
> >
> > Suggestions appreciated.
> >
> > Andy Pahne
> > ap <email protected>
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>