× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jim,

Are you trying to make the Net.Data page execute the PHP script? If so,
you need to make sure server side includes are set up. To do this, you
need to make sure the following is in httpd.conf:

Options +Includes
AddOutputFilter INCLUDES .pgm

Once you restart the HTTP server, add an exec SSI include to your macro
like this:

<!--#exec cgi="/path/to/php_script" -->

If, on the other hand, you're trying to make the PHP page call the
Net.Data to make a PDF out of it, this will not help.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of jlowary@xxxxxxxxxxxxx
Sent: Thursday, August 30, 2007 4:41 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Mixing Net.Data and PHP

Has anyone ever mixed PHP in with Net.Data?

Reason for asking is we have a vendor package that is in Net.Data, but
found an application that will convert web-pages to .PDF files and it is

in PHP. so we'd like to enhance the Vendors page to include the PHP.

Right now I'm not even able to get a simple "Hello World" in PHP working

out of the Net.Data page and thought before I go chasing windmills I'd
see
if anyone knows if it can even be done ( or if anyone knows of anything
that could be run on the iSeries to convert a current web-page to .PDF's

and works with Net.Data that would work too!).

Thanks,

Jim Lowary
System Analyst, Salton Inc.
(573) 447-5500

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.