Search found 7 matches

by step5086
Wed Feb 21, 2018 11:22 pm
Forum: Zend Server for IBM i
Topic: Want to use UPS APIs via PHP program.
Replies: 1
Views: 1827

Re: Want to use UPS APIs via PHP program.

try to run on a PHP 7 server. I had similar problems using the curl functions. I setup PHP on a hosting service ( a2 hosting ) and ran my code there. The functions worked. The install of the Zend PHP 7 basic server is no charge. And you can install it on the IBM i with the existing ZENDSVR6. PHP 7 w...
by step5086
Fri Feb 16, 2018 9:16 pm
Forum: Zend Server for IBM i
Topic: php 7 - zip, admin functions missing
Replies: 1
Views: 1782

Re: php 7 - zip, admin functions missing

the cause of this problem was that the symbolic link file /usr/local/lib/libz.a was pointing to a file that did not exist. The file pointed to was in an different folder. After fixing the link file, a restart of the zendphp7 server enabled PHP to startup correctly. The admin server worked. And so di...
by step5086
Thu Feb 15, 2018 6:38 pm
Forum: Zend Server for IBM i
Topic: php 7 - zip, admin functions missing
Replies: 1
Views: 1782

php 7 - zip, admin functions missing

installed IBM i PHP 7 on a system with an existing PHP 5 install. ( there are now two folders. /www/zendsvr6 and /www/zendphp7 ) Problem is zip functions that work in PHP5 do not work in PHP7. $zip = zip_open($zipPath); Fatal error: Uncaught Error: Call to undefined function zip_open() in /www/zendp...
by step5086
Mon Mar 06, 2017 2:55 am
Forum: PHP Questions / Hints
Topic: using VS Code to edit Zend PHP
Replies: 0
Views: 5415

using VS Code to edit Zend PHP

using visual studio code to edit PHP code on the IBM i. What I do is map the htdocs folder to the PC as a network drive. Then navigate to a folder within htdocs and open that folder in visual studio code. But VS code puts up an info message saying "cannot validate since no PHP executable is set" Hel...
by step5086
Sat Feb 11, 2017 1:32 am
Forum: Zend Server for IBM i
Topic: how to install phpExcel
Replies: 0
Views: 1997

how to install phpExcel

how do I install phpExcel in php on the i? Do I just copy the classes folder from the phpExcel setup folder? Which folder on the i do I copy to?

thanks,
by step5086
Tue Jan 12, 2016 2:07 am
Forum: Zend Server for IBM i
Topic: how to authenticate users?
Replies: 2
Views: 3157

Re: how to authenticate users?

thanks Scott. I used the basic authentication described in your link. To verify that the user has entered a valid as400 user name and password I call db2_connect with the user name and password. <?php // ----------------------- AuthenticateUserProfile ----------------- function AuthenticateUserProfi...
by step5086
Fri Jan 08, 2016 7:03 pm
Forum: Zend Server for IBM i
Topic: how to authenticate users?
Replies: 2
Views: 3157

how to authenticate users?

I want users to login to my zend server for IBM i. Then limit access to web pages to authenticated users. How to do this in PHP?

thanks,