How to read parameter without using CGI

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kambinglaaaaaaa
    New Member
    • Mar 2007
    • 7

    How to read parameter without using CGI

    hi everybody

    i m, a beginner in perl, i m using Apache 2, but its cannot use CGI in perl module, anybody have a another way to receive a parameter send by others program, i m really hope a solution from all of you,

    hope can hear a good solution from all of U soon.
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    Can you run perl scripts? If you can run perl you should be able to use the CGI module. Maybe your installation of Apache is not configured correctly.

    Comment

    • kambinglaaaaaaa
      New Member
      • Mar 2007
      • 7

      #3
      all my application using perl, and its running without any problem, but only cannot run when use CGI, like this

      package cmpCelcom::mGet ;
      use DBI;
      use strict;
      use IO::File;
      use Apache::Request Rec (); # for $r->content_type
      use Apache::Request IO (); # for print
      use CGI; <----- its not running when using this thing.

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

        #4
        CGI has been a core module for a long time. What version of perl do you have installed?

        Comment

        • kambinglaaaaaaa
          New Member
          • Mar 2007
          • 7

          #5
          i got this problem when i m upgared my Apache to Apache2. i thinks its not problem with my perl

          Comment

          • KevinADC
            Recognized Expert Specialist
            • Jan 2007
            • 4092

            #6
            You probably need to configure Apache to run cgi scripts.

            Comment

            Working...