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



Tom,

The problem here is a clashing of the communities :-). Most of the PHP
community has no problem hard coding a user profile on the connection
statements and then using application level security to access
resources. We in the IBM i world have been taught, from the cradle,
that "thou shalt NEVER handle another users password!"

I don't have a magic bullet here. There is none!

So the pro's and con's are weighed, decisions must be made and the
communities will evolve. There are countless discussions on this topic
and nearly as many recommended configurations. You really need to
investigate what works for you and move forward.

I just thank heaven for folks like David who provide forums like this
where these points can be discussed equitably.

I assure you that there are still many other options being considered
and implemented out there that are not being discussed here like LDAP
integration with a Microsoft AD.

Regards,

Mike

mike.p@xxxxxxxx Cell: (408)679-1011 Office: (815)722-3454



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Tom Deskevich
Sent: Monday, November 09, 2009 8:46 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] PHP - authenticate and authorize using AS400
profile

Mike,

How about the i5_connect that is in mentioned in this thread?

Here is the example from the user guide:

$conn = i5_connect("1.2.3.4", "MYUSER", "MYPWD");
if (!$conn) {
die(i5_errormsg());
}

Why would the example have a hard-coded user name and password? Who
would do
that?
I am not picking on ZEND, this seems to be the norm. Every example is a
'hello world' example.
Yet taking that to a practical step is where the blood sweat and tears
come
in.

So where do I go from there to find out how to have the user key in
their
user id and password?
Mr. Google and forums like this, I guess. But sometimes when you go to
Mr.
Google, you find that the examples out there are not correct.

Ok, I am done ranting. Thanks for reading this.

Tom Deskevich


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On
Behalf Of Mike Pavlak
Sent: Monday, November 09, 2009 8:50 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] PHP - authenticate and authorize using AS400
profile


Tom,

Have you tried the Zend Core for i5/OS User Guide? It is located here
and
there are many examples:
http://www.zend.com/topics/Zend-Core-User-Guide-i5OS-V261.pdf

Whether you consider them "good" or not is another discussion :-)

Also, which i5 functions do you have questions about? I have sample
code on
many of them and can provide if desired.

Regards,

Mike

mike.p@xxxxxxxx Cell: (408)679-1011 Office: (815)722-3454






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.