strange problem with php/apache/oracle
| From: | Andy Pahne | Date: | Fri, 04 Feb 2000 10:43:53 +0000 |
| Subject: | strange problem with php/apache/oracle | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15189@lists.php.net to get a copy of this message | ||
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@net22.net