Hi All,
i have a problem here, my server running Apache 2.0.49 and Perl version 3.05, the problem here is i cannot use CGI to read a parameter,befor e this i just use Apache 1.3.29, and its working fine, the scripst is like below
use DBI;
use IO::File;
use strict;
use Apache::Request Rec (); # for $r->content_type
use Apache::Request IO (); # for print
#Use CGI;
sub handler{
my $q = shift;
$q->content_type(' text/plain');
my $message_id = $q->param("CMP_Txi d");
my $message_text = lc($q->param("SMS_Mes sage_String"));
my $shortcode = $q->param("SMS_Sou rceAddr");
my $originating_ad dress = $q->param("SUB_Mob tel");
print "$message_id,me ssage_text";
anybody have a idea why CGI not working in Apache 2.?
i have a problem here, my server running Apache 2.0.49 and Perl version 3.05, the problem here is i cannot use CGI to read a parameter,befor e this i just use Apache 1.3.29, and its working fine, the scripst is like below
use DBI;
use IO::File;
use strict;
use Apache::Request Rec (); # for $r->content_type
use Apache::Request IO (); # for print
#Use CGI;
sub handler{
my $q = shift;
$q->content_type(' text/plain');
my $message_id = $q->param("CMP_Txi d");
my $message_text = lc($q->param("SMS_Mes sage_String"));
my $shortcode = $q->param("SMS_Sou rceAddr");
my $originating_ad dress = $q->param("SUB_Mob tel");
print "$message_id,me ssage_text";
anybody have a idea why CGI not working in Apache 2.?
Comment