Help for this page

Select Code to Download


  1. or download this
    [Fri Jul 07 20:10:28 2006] [error] [client 127.0.0.1] Bareword found w
    +here operator expected at C:/Program Files/Apache Group/Apache2/cgi-b
    +in/template1.pl line 13, near "print "Content-Type: text/html"
    
    [Fri Jul 07 20:10:28 2006] [error] [client 127.0.0.1]   (Might be a ru
    +naway multi-line // string starting on line 2)
    ...
    
    [Fri Jul 07 20:10:28 2006] [error] [client 127.0.0.1] Execution of C:/
    +Program Files/Apache Group/Apache2/cgi-bin/template1.pl aborted due t
    +o compilation errors.
    
  2. or download this
    #template1.tmpl
      <html>
    ...
      My Path is set to <TMPL_VAR NAME=PATH>
      </body>
      </html>
    
  3. or download this
      #!/bin/perl.exe  -w
      use lib '/site/lib';
    ...
    
      # send the obligatory Content-Type and print the template output
      print "Content-Type: text/html\n\n", $template->output;
    
  4. or download this
    #!bin/perl.exe  -w
    #This CGI script extracts weather information from the Australian Bure
    +au of
    ...
    </body>
    </html>
    EOM