perl script wont work!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • superfly
    Member
    • Mar 2004
    • 80

    #1

    perl script wont work!

    #!/usr/bin/perl

    print "Content-type: text/html\n\n";
    print "Hello World!";

    ------

    is there something wrong with this script? why wouldnt it work?
  • maskeret
    Junior Member
    • Mar 2004
    • 20

    #2
    Hello,
    - have you uploaded it in ASCII?
    - have you change the permission to 755 ?

    Bye.
    ----------------------------
    Maurizio Mascheroni - Italy
    http://www.dreamchess.com

    Comment

    • superfly
      Member
      • Mar 2004
      • 80

      #3
      How do I upload in ASCII and change the permissions?

      Comment

      • maskeret
        Junior Member
        • Mar 2004
        • 20

        #4
        With the software you use to upload.
        For example, I use "WS_FTP": on the bottom there are check boxes "ASCII" or "Binary" that I can choose. Then, after upload the file, I can use the right-mouse button to change permission and so on.
        I suppose that all "FTP" software have the same feature (i.e. "change permission" is also supported by "file manager" in your Control Panel).

        Bye!
        ----------------------------
        Maurizio Mascheroni - Italy
        http://www.dreamchess.com

        Comment

        • -Oz-
          Senior Member
          • Mar 2004
          • 545

          #5
          Set permissions to 755 btw.
          Dan Blomberg

          Comment

          Working...