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



Here's a tutorial I wrote for "hello world" programs on IBM i using Zend Core:
http://devzone.zend.com/article/10055

It gives examples of connecting to the IBM i in a PHP script. You do not need to require or include anything to make a connection. The necessary PHP files are already available inside the Zend Core.

See if you can get one of the hello world programs working. Then try to read a data area inside a working hello world script.

Kelly


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Tom Deskevich
Sent: Thursday, February 04, 2010 1:15 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Help trying to display a PHP variable within HTMLtags connection is not made

Ok, Grizzly, I tried to find the PHP error log. I give up. Where is it?

I know there are logs in the IFS that I have looked at, but just for
connection problems and such.

Tom Deskevich


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Grizzly Malchow
Sent: Thursday, February 04, 2010 1:36 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Help trying to display a PHP variable within HTMLtags
connection is not made


It's hard to say since I'm not sure what your code looks like now. In
theory, moving require('connection.php') and establishing the connection
before you try to use the i5_data_area_read function should solve your
original problem assuming there are no other errors. I assume you are not
seeing any errors on screen. Have you tried looking at the php error log?





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.