Solved

Execution order

Posted on 2001-07-03
3
140 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
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 the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now