Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Execution order

Posted on 2001-07-03
3
Medium Priority
?
169 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 85

Accepted Solution

by:
ozo earned 120 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

783 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