Search found 9 matches

by sodonnell
Thu Jul 07, 2011 5:04 pm
Forum: PHP Questions / Hints
Topic: Could Not Determine Server Name using ‘j¦BwâÏC for nam
Replies: 0
Views: 1954

Could Not Determine Server Name using ‘j¦BwâÏC for nam

Hi, I am trying to connect to the Zend PHP server running on iSeries using Flash Builder. I'm using the <mx:HTTPService> function to get to the PHP script. This works fine if I am calling a PHP script running in WAMP server, for example. However when I export the release build of the project to the ...
by sodonnell
Thu Jul 07, 2011 4:51 pm
Forum: Zend Server for IBM i
Topic: Could Not Determine Server Name using ‘j¦BwâÏC for name
Replies: 0
Views: 1379

Could Not Determine Server Name using ‘j¦BwâÏC for name

Hi, I am trying to connect to the Zend PHP server running on iSeries using Flash Builder. I'm using the <mx:HTTPService> function to get to the PHP script. This works fine if I am calling a PHP script running in WAMP server, for example. However when I export the release build of the project to the ...
by sodonnell
Fri Mar 18, 2011 8:06 pm
Forum: Zend Server for IBM i
Topic: Failure to AutoStart Zend Server on i
Replies: 6
Views: 4288

Failure to AutoStart Zend Server on i

Hi, I need to autostart the Zend server on iSeries. I have tried to use the menu option on the ZCMENU Admin menu named: Add restart ZC_STR_PRN job to scheduler That adds a job who command is this: CALL PGM(Zendcore/ZCPRNGCTRL) The problem is that when this command runs, it errors out because it cann...
by sodonnell
Wed Dec 30, 2009 7:22 pm
Forum: Zend Core for i5/OS
Topic: NullPointer Calling iSeries Web Service
Replies: 1
Views: 3282

NullPointer Calling iSeries Web Service

I am attempting to call an iSeries web service from PHP and I keep getting a Null Pointer exception error. If I call this web serivce via SoapUI, it works fine, so I think I'm just not passing my variables correctly when calling it from PHP. TheWSDL of the service is at the bottom of this message an...
by sodonnell
Tue Nov 17, 2009 8:33 pm
Forum: Zend Core for i5/OS
Topic: i5_Connect from WAMP Server
Replies: 4
Views: 4101

i5_Connect from WAMP Server

Hi, I can’t quite wrap my head around how this would work… I have WAMP server running on my PC. Load my PHP pages on the PC, run them there…the PHP script then needs to do an I5_Connect to the PHP server engine running on my iSeries… I’m not making the mental leap of how to connect those two. Seems ...
by sodonnell
Wed Jul 01, 2009 4:35 pm
Forum: Zend Core for i5/OS
Topic: Using ImageMagick on i5
Replies: 2
Views: 2474

Re: Using ImageMagick on i5

Never mind. I found a better way to convert TIFF to JPG. You can also use this to convert PDF to JPG. <?php $im = new imagick( '/mypath/MyImage.tif' ); // convert to jpg $im->setImageColorspace(0); $im->setCompression(Imagick::COMPRESSION_JPEG); $im->setCompressionQuality(90); $im->setImageFormat('j...
by sodonnell
Mon Jun 29, 2009 4:48 pm
Forum: Zend Core for i5/OS
Topic: Using ImageMagick on i5
Replies: 2
Views: 2474

Using ImageMagick on i5

Hi, I wanted to use ImageMagick to convert a TIFF image to JPG so that I can then more easily work with it with the GD libraries. I tried to use this example: $errors = " "; $exec = "convert Image1.tiff Image1.jpg"; exec($exec, $errors); However...the convert does not seem to run, and the output fro...
by sodonnell
Thu Jun 18, 2009 4:15 pm
Forum: Zend Core for i5/OS
Topic: Reusing or Storing UserID/Password I5_Connect
Replies: 3
Views: 2605

Re: Reusing or Storing UserID/Password I5_Connect

Thanks for the suggestions! Nope, I had never heard of $_Session until just recently. Then again, I've only recently started PHP programming so I'm not too familiar with any aspect of it yet. To quote Regis Philbin when responding to a slam by Alex Trebek that the questions on Who Wants to Be A Mill...
by sodonnell
Wed Jun 10, 2009 8:56 pm
Forum: Zend Core for i5/OS
Topic: Reusing or Storing UserID/Password I5_Connect
Replies: 3
Views: 2605

Reusing or Storing UserID/Password I5_Connect

What is everyone else doing when using the I5_Connect fuction as far as storing the user id/password so that it does not have to be reentered each time? Here's my scenario: I have the user log in with their i5 user id/password. I then take them to a new page, and I have them enter a search string. I...