I Fixed it, It was a problem with the Permissions that are set
automaticly to NOT let anyone execute the file.
thanks for the help
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Where do I need to include that line?
will this work?
printer.pl
1~ #!/usr/bin/perl
2~
3~ print "Content-type: text/html\n\n";
4~ $postfile = 'posts.fil';
5~ open(INFO, "<$postfile" );
6~ @PostLines = ;
7~ close(INFO) ;
8~ print "Post Tester\n";
9~ print "\n";
10~ foreach $line (@PostLines)
11
If you 'use CGI', you can get all the tags and header automatically from
your object. Checkout perldoc CGI.
-J-e-s-s-
-Original Message-
From: Anthony LaBerge [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 9:54 AM
To: [EMAIL PROTECTED]
Subject: Will not Work on the Server.
(I am going to guess that you are trying to access this through a web
browser? If not then forgive me!)
You need to include :
print "Content-type: text/html\n\n";
before you attempt to print it out.
Scott Lutz
Pacific Online Support
Phone: 604.638.6010
Fax: 604.638.6020
Toll Free: 1.877.503.9870