[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

Execution order

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
kplonk
Asked:
kplonk
  • 2
1 Solution
 
ozoCommented:
$actualContent = qx`/home/kplonk/public_html/cgi-bin/$content`;
0
 
kplonkAuthor Commented:
Thanks did the job
0
 
kplonkAuthor Commented:
Thought i had accepted sorry
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now