perl server error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

perl server error

Postby rahul36 » 06. October 2010 18:30

i m getting server error on my perl script
<script>

#!C:/xampp/perl/bin/perl -w

use CGI':standard'; # 6b.pl
print "content type: text/html \n\n";

$c=param('com');
system "echo $c";
exit(0);
<script>
error

The server encountered an internal error and was unable to complete your request.

Error message:
Insecure $ENV{PATH} while running with -T switch at C:/xampp/htdocs/6b.pl line 7. ,
rahul36
 
Posts: 2
Joined: 06. October 2010 18:17

Re: perl server error

Postby JonB » 07. October 2010 00:46

take a look at this page:

http://search.cpan.org/~lds/CGI.pm-3.49/lib/CGI.pm

Good luck
:)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 140 guests