How to call a perl script in Unix server from a web-page.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rasmidas
    New Member
    • Jun 2007
    • 56

    How to call a perl script in Unix server from a web-page.

    Hi,

    I have a perl script resides in my unix serve. I want to call that from inside a web-page. Please let me know, how can i make it possible?
  • pavunkumar
    New Member
    • Feb 2010
    • 4

    #2
    Use Function

    You can use "system" function .

    example :

    system ("you perl script path " ) ;

    Comment

    • rasmidas
      New Member
      • Jun 2007
      • 56

      #3
      Hi,

      I need to call the perl script from a webpage means from the HTML code.
      My perl script is in unix server.

      Comment

      • jkmyoung
        Recognized Expert Top Contributor
        • Mar 2006
        • 2057

        #4
        What program are you using to execute the perl?

        Mod_perl?
        HTML::Embperl?
        HTML::Mason?

        Or have you not installed any of these as of yet? Can you check that you do have perl suppot? eg

        Code:
        <Script language="PerlScript">
        $window->document->write("This is PerlScript..");
        </script>
        I suggest googling embed perl in html

        Comment

        Working...