|
-
Sep 3rd, 2001, 11:00 AM
#1
Thread Starter
Member
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.,
-
Sep 3rd, 2001, 12:45 PM
#2
what are you saving the file as?
-
Sep 3rd, 2001, 01:20 PM
#3
Thread Starter
Member
I've saved the file as:
MSDOS text;
ANSI;
Unicode;
Unicode big endian;
UTF-8...
and God knows what, but nothing worked! 
Thanks!
Grtz.,
-
Sep 3rd, 2001, 01:33 PM
#4
whn you save, save it as whatever.pl or .cgi
don't save it as asci or text or anything else.
-
Sep 3rd, 2001, 01:55 PM
#5
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.
-
Sep 3rd, 2001, 02:13 PM
#6
Thread Starter
Member
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
-
Sep 3rd, 2001, 02:40 PM
#7
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...
-
Sep 3rd, 2001, 02:43 PM
#8
I found the right path to perl, but I still can't run my scripts. I think it's a problem with prohosting.
-
Sep 3rd, 2001, 03:03 PM
#9
are you guys uploading the scripts to a cg-bin folder? and chmod them to 755
-
Sep 3rd, 2001, 03:34 PM
#10
-
Sep 3rd, 2001, 03:52 PM
#11
sounds like you need to contact prohosting.
-
Sep 3rd, 2001, 03:55 PM
#12
Thread Starter
Member
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
-
Sep 3rd, 2001, 06:09 PM
#13
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.
-
Sep 3rd, 2001, 06:57 PM
#14
Thread Starter
Member
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
-
Sep 3rd, 2001, 07:16 PM
#15
Fanatic Member
Makes sense. Unix recognizes new lines differently than Windows does.
Alcohol & calculus don't mix.
Never drink & derive.
-
Sep 4th, 2001, 09:26 PM
#16
Thread Starter
Member
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.,
-
Sep 5th, 2001, 12:05 AM
#17
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.
-
Sep 5th, 2001, 05:26 AM
#18
Thread Starter
Member
-
Sep 5th, 2001, 07:44 AM
#19
Thread Starter
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|