Results 1 to 19 of 19

Thread: Thanks, parksie!

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Unhappy Thanks, parksie!

    Unfortunately, this isn't the problem:
    the file is fine as long as I don't save it in my text editor.

    Doesn't anyone have a clue?
    I get the same thing on two seperate servers...


    Thanks anyways! (Parksie)

    Grtz.,
    -=<][])a ][}yte>=-

  2. #2
    scoutt
    Guest
    what are you saving the file as?

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Lightbulb

    I've saved the file as:
    MSDOS text;
    ANSI;
    Unicode;
    Unicode big endian;
    UTF-8...
    and God knows what, but nothing worked!


    Thanks!

    Grtz.,
    -=<][])a ][}yte>=-

  4. #4
    scoutt
    Guest
    whn you save, save it as whatever.pl or .cgi

    don't save it as asci or text or anything else.

  5. #5
    denniswrenn
    Guest
    What editor are you using? If it's notepad, then are you saving the file as "filename.pl" or "filename.cgi" as "All Files" with ANSI encoding?

    If not, you should be, because I have Win2k, and when I use those settings with my scripts, it works fine.

  6. #6

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Thumbs up

    Thanks, man!

    But I'm afraid this doesn't cut it for me... Because I've tried that already.

    Anyways, are you also with free.prohosting.com? I've it tried there...


    Thanks for your time!
    Da Byte
    -=<][])a ][}yte>=-

  7. #7
    denniswrenn
    Guest
    Are you uploading the file in Ascii or binary mode?

    I just signed up for a prohosting account, but right now I'm trying to find the path to perl...

  8. #8
    denniswrenn
    Guest
    I found the right path to perl, but I still can't run my scripts. I think it's a problem with prohosting.

  9. #9
    scoutt
    Guest
    are you guys uploading the scripts to a cg-bin folder? and chmod them to 755

  10. #10
    denniswrenn
    Guest
    Yes...

  11. #11
    scoutt
    Guest
    sounds like you need to contact prohosting.

  12. #12

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41
    Most definitasiously!

    But as I've said before: it's not an uploading problem, since a NOT-saved script, uploaded in the same way, WILL run.

    Prohosting has #!/usr/bin/perl, I thought...


    Thanks for all the help nevertheless!

    Grtz.,
    Da Byte
    -=<][])a ][}yte>=-

  13. #13
    scoutt
    Guest
    well if you are using notpad and saving it as .cgi or.pl and then uploading it in Asci and chmod it to 755, then it should work. notpad doesn't change anything that would not make it work.

    what are you changing in the file when you have to save it?

    I use win2000 and notepad at work and it saves just find with perl files.

  14. #14

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Thumbs up THANKS

    Oh, sorry!
    Once I have normal line breaks (instead of those little blocks), the damage has been done.
    You know: take a file with the blocks and throw it into Wordpad, then copy to Notepad ...
    Or write your own file in Notepad ...
    And the damage is done!

    Thanks for everything, m8s!


    Grtz.,
    Da Byte
    -=<][])a ][}yte>=-

  15. #15
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Makes sense. Unix recognizes new lines differently than Windows does.
    Alcohol & calculus don't mix.
    Never drink & derive.

  16. #16

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Unhappy

    And still my question isn't answered

    Isn't there anyone out there with this experience? That Windows Wordpad ****s up the format even when you only cut 'n' paste from it?


    Thanks for all the help, though!

    Grtz.,
    -=<][])a ][}yte>=-

  17. #17
    scoutt
    Guest
    yeah............ don't use wordpad

    actually if I get those little blocks I will upload (ftp) it in whatever format then dowload it back to my computer in ascii, always gets rid of those blocks, then I edit it.

  18. #18

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Cool

    HAHA! ) Did you see the censoring of the word f u c k in my last post? LOL!

    Now that's a useful suggestion, Scout...
    I'm not sure it will rid me of the problem, though But will try!

    Anymore suggestions?
    Maybe: don't use IE to do ftp for instance?

    Thanks a bunch, all!
    Grtz.,
    -=<][])a ][}yte>=-

  19. #19

    Thread Starter
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Cool

    HAHA! ) Did you see the censoring of the word f u c k in my last post? LOL!

    Now that's a useful suggestion, Scout...
    I'm not sure it will rid me of the problem, though But will try!

    Anymore suggestions?
    Maybe: don't use IE to do ftp for instance?

    Thanks a bunch, all!
    Grtz.,
    -=<][])a ][}yte>=-

Posting Permissions

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



Click Here to Expand Forum to Full Width