Jump to content

Insert A Perl Script Into Php


walapu

Recommended Posts

Hello I am trying to insert a perl script into php, with this line.

echo shell_exec('blabla/cgi-bin/random_text.pl');

When I do this, for some reason it displays the header. Like so.picture2zst.pngWhen I do it in shtml like so

<!--#exec cgi="blabla/cgi-bin/random_text.pl"-->

it doesnt show the header.What can I do to fix this?EDIT: Nvm fixed it thanks though!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...