Is OI-CGI able to handle *.php extensions? (OpenInsight Specific)
At 25 JAN 2001 12:59:24PM Wilhelm Schmitt wrote:
Recently I stumbled over server side scripting and PHP (www.php.net) which is supposed to allow dynamic web pages and speeding up user interaction.
Is OI-CGI able to create .php extensions for web pages, and if so, what would be the basic steps to implement it?
Thanks.
Wilhelm
At 26 JAN 2001 09:09AM Bob Carten wrote:
Wilhelm:
Php is a version of active server pages popular in the Apache/Perl community.
You can write that contain scripting such that the server does pre-or post processing of the request. The server, not OICGI evaluates the php page.
You could use OI with PHP in two ways. One is to use OI to generate the .php themselves, for instance to publish popups of all your validation or other static tables. This is just a matter of using OSWRITE to a direcory on the web server.
The other is to call a php page which contains embedded oicgi calls.
This could enable you to hide OICGI calls behind php. In particular you could have an Apache web server on a Unix box reach back to a set of windows machines running OI and sambar server.
I have not used php, but I have used IIS active server pages to do this and presume the same is possible with php.
Hope this helps
Bob