Search found 24 matches

by ronhextall
Tue Feb 20, 2018 10:16 pm
Forum: Zend Server for IBM i
Topic: Want to use UPS APIs via PHP program.
Replies: 1
Views: 1009

Want to use UPS APIs via PHP program.

I am running zendsvr6 and we have php running that hosts our own website. We would like to use the API's provided by shipping company UPS to get tracking information. I am trying use some sample code provided by UPS and I am failing. We get an error message saying 'Connection Failed'. I contact UPS ...
by ronhextall
Thu Mar 23, 2017 7:36 pm
Forum: Zend Studio for IBM i
Topic: i5_connect vs db2_connect
Replies: 6
Views: 6720

i5_connect vs db2_connect

I noticed some code in some of our programs where it does an i5_connect and a db2_connect and it throws in error if either fails. Do you need both? What is the difference between the two? We have a new machine we are going to and installed a new version of Zend and it looks like the i5_connect is no...
by ronhextall
Thu Oct 29, 2015 2:30 pm
Forum: PHP
Topic: Virtual host php calls, all revert to same host.
Replies: 2
Views: 3394

Re: Virtual host php calls, all revert to same host.

1 LoadModule proxy_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM 2 LoadModule proxy_http_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM 3 LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM 4 LoadModule proxy_ftp_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM 5 Listen *:8080 6 Optio...
by ronhextall
Wed Oct 03, 2012 4:30 pm
Forum: Zend Framework
Topic: Trying to play with web services
Replies: 3
Views: 2485

Re: Trying to play with web services

We are on Zend Core is it possible the SOAP functions were not installed when they originally installed ZendCore? I have done some search using QSHELL and I am fairly confident I don't even have a SOAP directory inside Zend.

Thanks
by ronhextall
Tue Oct 02, 2012 10:18 pm
Forum: Zend Framework
Topic: Trying to play with web services
Replies: 3
Views: 2485

Trying to play with web services

Found this article here that seems to be very simple: http://www.phpriot.com/articles/zend-soap I thought I would try it out and I don't get anything when I try the part on seeing the wsdl with this link, http://example.com/webservice.php?wsdl I realize my URL would be different but I get a blank sc...
by ronhextall
Thu Aug 09, 2012 7:36 pm
Forum: PHP Questions / Hints
Topic: Call a CL program from inside php program
Replies: 6
Views: 11703

Re: Call a CL program from inside php program

This link provides an excellent example and it worked fine, outside some minor syntax issues.

http://www.sematopia.com/2006/09/php-on ... s/?print=1
by ronhextall
Thu Aug 09, 2012 6:16 pm
Forum: PHP Questions / Hints
Topic: Call a CL program from inside php program
Replies: 6
Views: 11703

Re: Call a CL program from inside php program

We are getting a new machine in the next year so we will upgrade everythign than I am told.

Is there no hope until than?
by ronhextall
Thu Aug 09, 2012 5:19 pm
Forum: PHP Questions / Hints
Topic: Call a CL program from inside php program
Replies: 6
Views: 11703

Call a CL program from inside php program

I would like to call a CL program with an input parameter or two from within a php program. We are running ZendCore and use db2_connect and db2_execute to query and update files on the iSeries all the time so a connection should be the problem. Just would like a nice clean example from beginning to ...
by ronhextall
Thu Jul 26, 2012 10:03 pm
Forum: PHP
Topic: Consuming webservices from webserviceX.net
Replies: 3
Views: 3725

Re: Consuming webservices from webserviceX.net

thanks for the white space tip. Messing around I found that United_States and Des_Moines are what it takes to get the job down.

I am new to php so can you explain the issue with simple_load_string?
by ronhextall
Thu Jul 26, 2012 2:23 pm
Forum: Zend Server for IBM i
Topic: Accessing Folder of PDFs not in Document Root?
Replies: 1
Views: 2239

Accessing Folder of PDFs not in Document Root?

We have some pdfs that we display on our website when a user clicks on a link. You can also access them by basically guessing URLs. We would like to put some more sensitive PDFs on the website and check the user login to make sure they can display them. Problem is they would still be able to be seen...