× 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.



Actually, you're trying to call the PHP script by itself so the real
problem is "How do I get PHP running?". To that end, I would check out
http://www.zend.com/products/zend_core/zend_for_i5_os.

Matt

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

Matt,

Correct on the first one! I'm trying to get the Net.Data to execute my
PHP script. When they click on an image then I am calling my PHP.
(sample
below)

...
<IMG src="$(imgPath)btn_larger_view.gif" align="baseline" border=0
name=""></A>
<A href="$(templateLink)/HelloWorld.php">
...

the $(xxx) are vendor supplied functions to give me access to these item

(directory wise). What I'm getting is:


<?php
require_once("/dompdf-0.5.1/dompdf_config.inc.php");
$html =
''

Hello World!
'
''
$dompdf = new DOMPDF();
$dompdf->;load_html($html);
$dompdf->;render();
$dompdf->;stream("hello_world.pdf");
?>

It doesn't appear to be processing the PHP. So if I did this as an
SSI,
should that remedy the situation?
Or I'm I missing something else, since it's finding my PHP script and
just
not processing it?
Sorry to be so dense on this!
Thanks for your help!

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




JAMES LOWARY/MISTM/TMASTER/SALTON
08/30/2007 03:41 PM

To
web400@xxxxxxxxxxxx
cc

Subject
Mixing Net.Data and PHP





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 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.