Solved

Execution order

Posted on 2001-07-03
3
150 Views
Last Modified: 2013-12-25
Using this peice of code
$actualContent = system("/home/kplonk/public_html/cgi-bin/$content");

content is a string such as start.cgi i want to run one cgi in perl form another cgi also writen in perl, the proble is that the location of this stament is the place where execution occours, what i want it the value of $acctualContent to hold the text that is returned by the cgi then i can add this to the html page the the first cgi creates in any location what can i do thanks
kieran
0
Comment
Question by:kplonk
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 30 total points
ID: 6251637
$actualContent = qx`/home/kplonk/public_html/cgi-bin/$content`;
0
 

Author Comment

by:kplonk
ID: 6267159
Thanks did the job
0
 

Author Comment

by:kplonk
ID: 6284253
Thought i had accepted sorry
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
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 how to look for a specific file type in a local or remote server directory using PHP.

713 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