P
perlperl
i have
my $test = Win32::OLE->GetObject($microsoftword_filename);
my $para = $test->Paragraphs();
this works fine when i run thru command prompt but not thru CGI.
Do i neec to change IIS configuration setting?
I tried
1)
print "<html> <script> alert(\"test\") </script> </html>
";
exit 0;
my $document = Win32::OLE->GetObject($wordfile);
teh CGI terminates properly once i click "ok"
2)
print "<html> <script> alert(\"test\") </script> </html>
";
my $document = Win32::OLE->GetObject($wordfile);
exit 0;
the cgi hangs and terminates after 5 minutes saying timeout....
however when i run the same CGU using command prompt, it works fine
my $test = Win32::OLE->GetObject($microsoftword_filename);
my $para = $test->Paragraphs();
this works fine when i run thru command prompt but not thru CGI.
Do i neec to change IIS configuration setting?
I tried
1)
print "<html> <script> alert(\"test\") </script> </html>
";
exit 0;
my $document = Win32::OLE->GetObject($wordfile);
teh CGI terminates properly once i click "ok"
2)
print "<html> <script> alert(\"test\") </script> </html>
";
my $document = Win32::OLE->GetObject($wordfile);
exit 0;
the cgi hangs and terminates after 5 minutes saying timeout....
however when i run the same CGU using command prompt, it works fine