Results 1 to 5 of 5

Thread: perl script wont work!

  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    80

    Default 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?

  2. #2
    Junior Member
    Join Date
    Mar 2004
    Location
    Italy
    Posts
    20

    Default

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

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

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    80

    Default

    How do I upload in ASCII and change the permissions?

  4. #4
    Junior Member
    Join Date
    Mar 2004
    Location
    Italy
    Posts
    20

    Default

    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

  5. #5
    Senior Member -Oz-'s Avatar
    Join Date
    Mar 2004
    Location
    Phoenix, AZ
    Posts
    545

    Default

    Set permissions to 755 btw.
    Dan Blomberg

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •