for   
Save 
Save 
   Join IIUG  

Informix News
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read

Previous news items
 

Home Member Area About IIUG


Resources
IIUG Insider
IIUG Hotspots
IBM-Informix Links
IIUG RSS Feeds
Software Repository
Informix Products
Online Resources
Informix Library
Informix Books
IIUG Banners
Discussion
Technical Special
  Interest Groups

Other Discussion
Community
Events
Webcasts/Chat w Lab
IIUG TV
IIUG Sponsors
Informix Business Directory
IIUG Press Partners
Local User Groups
Rate the Vendor
Job Board
Fun Stuff

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Datablade List Forum

SV: Including html-pages in scripts

Posted By: Peter Langseth
Date: Wednesday, 3 September 2003, at 11:34 a.m.

In Response To: Including html-pages in scripts (PETER LANGSETH)

Hi

Thank you Donald for your reply, very good info :)

Yes I use Web DataBlade, my versions are:
Informix 9.21 TC5
WebBlade 4.10 Tc1
NT 4.0

Yes I do have to include files that are located on a different web
server, on another web domain.

We use the isa webdriver, and I have therefore decided on your solution
#2 (making a perl-script executed from the MIEXE-tag) But I have some
problems with this :(

I have made a small perl-script (basically a "hello-world" script) which
executes fine from a commandline. But when I try to call it from an
Informix-script the browser just dies. (no timeout, no errors, it just
doesn't answer) Can anyone tell me what I'm missing? (I have a suspicion
that the Informix-script doesn't call the Perl-script). I do the
following in the Informix-script:

<?MIVAR name=src>d:\ibm\isa\perl\bin\perl
d:\ibm\isa\bin\pel_test.pl<?/MIVAR>
<?MIEXEC SERVICE=$src>
This is a test
<?/MIEXEC>

The variable $src contains the location of our perl.exe called with the
location of my perl-script.
(basically what I do from the commandline).

If anyone has some experience in executing perl-scripts from
informix-scripts your input would be much appreciated.

Thx, best regards
Peter Langseth
pel@djoef.dk


-----Oprindelig meddelelse-----
Fra: Donald Payne [mailto:payned@us.ibm.com]
Sendt: 26. august 2003 20:11
Til: Peter Langseth
Cc: datablade-list@iiug.org; forum.subscriber@iiug.org
Emne: Re: Including html-pages in scripts [42]


I assume you are using the Web DataBlade.
From looking at the PHP docs for "include()", it appears you just want
to
include some common text in more than one Web Blade app page. The way
to
do that is to create a "User-Defined Dynamic Tag" in the Web Blade.
Using
DDW or APB, you define the tag, edit it (copy in your static text from
wherever) & save it, similar to the way you create an app page. You
include or invoke the tag in an app page with:
<?myTag>
The tag can contain static text as well as Web Blade code; you can pass
parameters to the code in the tag, with
<?myTag param="value" ...>
If you enable caching of dynamic tags, then the database keeps tags in
memory, which can help performance.
For defining and using tags, see the "Web Blade App Dev Guide", Chapter
9
"Using Dynamic Tags in AppPages", for details on Dynamic Tags. For
caching, see two sections of the "Web Blade Admin Guide", depending on
whether you have Global Tags Cache (a feature of Web Blade 4.13?)
enabled:

- If Global Tag Cache is enabled: Chapter 9 "Improving Performance",
section "AppPage Caching", subsection "Global Cache For Dynamic Tags and

User-Defined Routine Tags".

- If not: Appendix B "Web DataBlade Module Variables", section "Managing

Dynamic Tags", variable MI_WEBTAGSCACHE.

But, if you really want to include a file from "another web-domain" (I
assume you mean to get data from another process or another web server,
or
that you can't or don't want to copy a file into a Web Blade tag), I'm
not
sure how to do that best. The Web DataBlade executes ("explodes") its
code inside the database engine, so it can't easily go outside to other
processes or hosts. You _could_ try one of these, easiest idea first.
I
have not tried any of these:

1. Use a server-side include (NSAPI or Apache Webdriver only). See the

"Web Blade Admin Guide", chapters 4 or 5 ("Using the XXX Webdriver"),
section "Using Server-Side Includes in AppPages with the XXX Webdriver".

2. Write an <?MIEXEC> tag to execute a Perl script. See "Web
Blade
App Dev Guide", chapter 7 "Using Advanced AppPage Tags", section "The
MIEXEC Tag".

3. Write a web server plug-in module (NSAPI, ISAPI or Apache) and
invoke
a <?MIFUNC> tag to call it. See:
- "Web Blade Admin Guide", chapter 4, 5 or 6 "Using the XXX
Webdriver", section "Using Server-Side Includes in AppPages with the XXX
Webdriver".
- "Web Blade App Dev Guide", chapter 7 "Using Advanced AppPage
Tags", section "The MIEXEC Tag".


HTH,
- Don

Donald E. Payne -- Sr. IT Specialist
OLTP Practice, Data Management Services, Software Group, IBM phone / fax
1-212-745-4380 ext. 1 (internal 243-4380 ext. 1) mobile office: New
York, NY mailing address: 13 Myrtle Ave., Huntington, NY 11743-3506
Certified IBM Informix Professional http://www.ibm.com/software/data




"PETER LANGSETH" <pel@djoef.dk>
Sent by: forum.subscriber@iiug.org
08/26/2003 09:19 AM


To: datablade-list@iiug.org
cc:
Subject: Including html-pages in scripts [42]



Hi

I have a scripting question.

Is there a functionality in Informix that will allow me to "include" a
static html-page from another web-domain into an informix-script?

The functionality i'm looking for is similar to the functionality in
PHP:
include("webpagename.ext");

Im relative new to Informix-programming and not sure if Informix have
any
connectivity to anything else than databases.

Plz help
Peter





Messages In This Thread

  • Including html-pages in scripts
    PETER LANGSETH -- Tuesday, 26 August 2003, at 9:19 a.m.
    • Re: Including html-pages in scripts
      Donald Payne -- Tuesday, 26 August 2003, at 2:13 p.m.
    • SV: Including html-pages in scripts
      Peter Langseth -- Wednesday, 3 September 2003, at 11:34 a.m.
      • Re: SV: Including html-pages in scripts
        paul@oninit.com -- Wednesday, 3 September 2003, at 12:57 p.m.
      • Re: SV: Including html-pages in scripts
        Donald Payne -- Wednesday, 3 September 2003, at 2:40 p.m.
      • SV: SV: Including html-pages in scripts
        Peter Langseth -- Thursday, 4 September 2003, at 11:57 a.m.
        • Re: SV: SV: Including html-pages in scripts
          Donald Payne -- Thursday, 4 September 2003, at 3:14 p.m.
        • Re: SV: SV: Including html-pages in scripts
          paul@oninit.com -- Friday, 5 September 2003, at 12:01 p.m.

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Datablade List Forum is maintained by Administrator with WebBBS 5.12.

©2001 - 2007 International Informix Users Group.   All rights reserved.     Terms of use    
*** Powered By IBM Informix Dynamic Server V10.00 ***