Search found 14 matches

by sabelsteel
Mon Apr 09, 2012 6:56 pm
Forum: New Toolkit
Topic: Ensuring a healthy toolkit
Replies: 19
Views: 29610

Re: Ensuring a healthy toolkit

That was it. Thanks again for your help, Alan. This XML toolkit is a huge help to RPG programmers who, like me, are newbies to OO PHP. I'll be using it quite often.
by sabelsteel
Fri Apr 06, 2012 2:24 pm
Forum: New Toolkit
Topic: Ensuring a healthy toolkit
Replies: 19
Views: 29610

Re: Ensuring a healthy toolkit

Downloading 1.6.8 worked! Thanks Alan! I'm sorry to keep bugging you, but I'm concerned about slow performance. This may be normal at this stage, but it takes almost 5 seconds for an ajax call to an RPG program that simply increments a counter in a data area and returns the new value. I don't know w...
by sabelsteel
Thu Apr 05, 2012 10:42 pm
Forum: New Toolkit
Topic: Ensuring a healthy toolkit
Replies: 19
Views: 29610

Re: Ensuring a healthy toolkit

Does it matter that /tmp/ADAM/ is empty? Should I just reinstall the new toolkit and see if the problem fixes itself?
by sabelsteel
Wed Apr 04, 2012 5:37 pm
Forum: New Toolkit
Topic: Ensuring a healthy toolkit
Replies: 19
Views: 29610

Re: Ensuring a healthy toolkit

Thanks again for helping me out, Alan. I'm really eager to get this new toolkit working. Unfortunately, specifying a $user didn't help. I still got the same errors whether I specified an all uppercase user or all lowercase. In authorization.php I changed these lines: $user = ''; $pass = ''; to: $use...
by sabelsteel
Wed Apr 04, 2012 4:06 pm
Forum: New Toolkit
Topic: Ensuring a healthy toolkit
Replies: 19
Views: 29610

Re: Ensuring a healthy toolkit

Hey Alan. Thanks for the tips. *LOCAL works for the db connection, and I was using the wrong toolkit samples. However, I still can't get the ones in /Samples/Toolkit/ to work. For instance, I'm trying to run the program call with two parameters (CALL_RPG_EXAMPLE.php from Call_program_RPG.html), and ...
by sabelsteel
Mon Apr 02, 2012 9:53 pm
Forum: New Toolkit
Topic: Ensuring a healthy toolkit
Replies: 19
Views: 29610

Re: Ensuring a healthy toolkit

Hi Alan. I've followed your instructions here and on the youngiprofessionals xmlservice wiki, and I I'm trying to run the following script (from one of your other posts): require_once('ToolkitService.php'); // connect to db using chosen i5 naming mode $namingMode = DB2_I5_NAMING_ON; // ON or OFF $db...
by sabelsteel
Thu Jan 19, 2012 3:25 pm
Forum: Zend Framework
Topic: Zend_Pdf merging pdfs
Replies: 3
Views: 2706

Re: Zend_Pdf merging pdfs

All right. I'm pretty sure this is it. It works for me. <?php require_once('Zend/Pdf.php'); // ************************************************************************************************************************************************** // // Script: COMBINE_PDFS.php // Parameters: PDFs - a JSO...
by sabelsteel
Wed Jan 18, 2012 7:06 pm
Forum: Zend Framework
Topic: Zend_Pdf merging pdfs
Replies: 3
Views: 2706

Zend_Pdf merging pdfs

I'm trying to write a script that will take an array of PDFs and merge them into one using Zend_Pdf. Here is what I have so far: <?php require_once('Zend/Pdf.php'); // Load parameters if (!empty($_POST['PDFs'])){ $PDFs = json_decode($_POST['PDFs']); } else { die(); } if (!empty($_POST['division'])){...
by sabelsteel
Tue Dec 27, 2011 9:25 pm
Forum: PHP Questions / Hints
Topic: Zend_Mail
Replies: 7
Views: 7583

Re: Zend_Mail

I see now. I had it all wrong. ADDLNK just needs to be executed from the command line once to create the link in the same folder as SEND_EMAIL.php. Then, have the require_onces like this: require_once('Mail.php'); require_once('Smtp.php'); Thanks for your help guys. I'm looking forward to using this...
by sabelsteel
Tue Dec 27, 2011 8:10 pm
Forum: PHP Questions / Hints
Topic: Zend_Mail
Replies: 7
Views: 7583

Re: Zend_Mail

If I add LNKTYPE(*SYMBOLIC) to the ADDLNK commands... $ret = i5_command("ADDLNK OBJ('/usr/local/zendsvr/share/ZendFramework/library/Zend/Mail.php') NEWLNK('Mail') LNKTYPE(*SYMBOLIC)"); require_once 'Mail'; $ret = i5_command("ADDLNK OBJ('/usr/local/zendsvr/share/ZendFramework/library/Zend/Mail/Transp...