Hi all. I've got a PHP file which is accessing an Oracle database.
If I run the file from the command line ( [gossep@dyn105 html]$ php ora_test.php ) it works fine, and all the html code that is generated is printed to my terminal.
However, if I try to access it via the web (http://pablo.unbc.ca/ora_test.php) all I get is the following, which is output by the ADOdb debugging:
code: select table_name from cat where table_type in ('TABLE','VIEW')[/code]The output that I expect to receive (and which I do receive when it's executed from the command line) is this:
http://pablo.unbc.ca/results.html
Does anyone have any idea why it works from the command line, but all I get when I access it via a browser is the info about the first query executed? A page which simply echos phpinfo() works fine either through the command line or a browser.
Thoughts?
Thanks in advance,
Pablo