I posted this on the 8.5 forum because that is the version I am running, but I believe this is not dependent on the version. Any help would be appreciated.
We are in the process of redoing our web site. The person doing the web site wanted to use PHP to generate the pages. I have installed PHP on the server and it working fine. We did install the patch that keeps the server from crashing.
I have a PHP include on the page, but the info will not display on the page. The page we are trying to display is a view created from a domino database that is formatted with html. If we type the address direct into the browser it displays exactly like it should, but the include is not showing it.
As a trouble shooting step I tried to put a txt file in the include, again I can type it in the browser and it will display, but the page will not display it.
Below is my php include code:
<?php include("http://www.mysite.org/test.txt"); ?>This is the code with the txt file, but I have tried to put the address of the view in too.
If I use :
<?php include("test.txt"); ?>It works, but I am trying to get the view at the path:
/apps/vwide/WebMain.nsf/Test?OpenPage
This is what is not working, or anything that is not in the same folder as the original php files for the site.
If I go to:
http://www.mysite.org/apps/vwide/WebMain.nsf/Test?OpenPage
The page which is created from the view displays just fine.
I have searched high and low on the net and there is something I am missing, but can’t figure it out. I believe it has something to do with my php.ini file, but am not sure.
I know that php is working because the code for the rest of the index page is working great.
Thanks in advance for any help.