Web Analytics Made Easy -
StatCounter Perl Question - CodingForum

Announcement

Collapse
No announcement yet.

Perl Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Perl Question

    I want to embed a perl program into a shtml file so I can include a top.shtml and a bottom.shtml which has normal markup stuff like CSS. But, I also want to pass information via POST to the script.

    When I have this in the .shtml which is recieving information from a HTML form:

    <!--#include virtual="top.shtml"-->
    <!--#exec cgi="/cgi-bin/script.pl"-->
    <!--#include virtual="bottom.shtml"-->

    Everything there is correct, but none of the information from the form is being passed to script.pl, and therefore it does nothing.

    Does anyone know if this is possible? I heard something about EmbPerl but I'm not sure if it's the right way to do it.

    Also, I don't want to just print out the contents of top.shtml in the script because that would just be slow.

    Thanks in advance for any help...
    -Justin

  • #2
    hey,
    hmm yeh cuz the info does not have a target....would be best to have the pl script including the .shtml files do ya know how to do that?
    sir p
    Reseller Web Hosting - Unlimited websites from $5.49
    cakephp tutorials || Buying or sell websites? Do it here, free! || Professional Website & PHP development

    Freelance Magento Job Classifieds

    Comment


    • #3
      If you look at this site: http://bilder.ecos.de/index1.htm

      Click on the third link from the left at the top, it takes you to a form, the form's action is set to another .htm file where it's processed. There must be a perl script embedded somewhere in that htm file that the form leads to.

      I want to know how to do this...

      Comment


      • #4
        Im really not sure but maybe that form is sent via not server side,

        i really dont know this for sure,

        Calilo

        Comment


        • #5
          yeh im prolly agreein with Calilo here...you can proberly get a small bit oof java script to do the jod for you maybe
          sir p
          Reseller Web Hosting - Unlimited websites from $5.49
          cakephp tutorials || Buying or sell websites? Do it here, free! || Professional Website & PHP development

          Freelance Magento Job Classifieds

          Comment

          Working...
          X