Posted on 1997-12-12
Medium Priority
Last Modified: 2013-12-25
I am a student of systems engineering. So I am working in my thesis with some CGI-scripts but I'm using Informix 4gl Web Kit instead of Perl. So I would like to know how I can call automatically(without any link. I mean, If some condition get true then the CGI call another web site) a web site from a CGI, and if I can call another CGI from inside other CGI.
  If you know how to do it, please tell me.
  Thanks in andvance.


Question by:acarnero
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1831637
Well, I needed to do both things and , the only method i found to do it was :
Display first "Content-type: text/html" (I did it in C ; i dont know informix but sure that you can display text to stdout) with two blank lines and the html program ; this program can either jump to a web site (meta-http refresh=0 url=<website>) , or exec another cgi , (the url can be a local exe program) .  


Accepted Solution

nanullnet earned 40 total points
ID: 1831638
Simply print to STDOUT the lines

"HTTP/1.0 302 Redirect\n"
"Location: http://where.you.want.it.to.go/there.html\n\n"

(minus the double quotes)

Depending on where you want to go.  You can also redirect to a CGI, so instead of the location to a html page, refer to a CGI script.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question