Perl

Moderators: Jonathan
Number of threads: 1259
Number of posts: 3644

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
My BIG problem still not solved, it kills me Posted by Niels on 6 Jul 2000 at 1:46 AM
Hi guys, i still have this problem with my perl script. Im spending hours on the web to find a solution for it. My problem is this:<br>
<br>
1. i have a perl script<br>
2. this perl script reads text from a textfile<br>
-the textfile is a *.txt file.<br>
3. the text is put in variabeles<br>
4. i use the variabeles to print them in html code for my page<br>
<br>
For opening the textfile i use:<br>
open (A "tag_news.txt") || die bla bla bla.....<br>
<br>
When i use this with xitami (the offline webserver for windows that supports perl) it works perfectly. If i upload the script into my cgi-bin on my server that supports cgi/perl it doesnt work, but it gives a "http 500" error.<br>
<br>
i checked my script on:<br>
* the "#usr/bin/perl" line<br>
* on the header of the html<br>
* i checked it with the "perl -w" command<br>
* i checked it with the "perl -cw" command<br>
* i checked that my server is running under UNIX<br>
<br>
And i heard something about setting script permissions by using CHMOD command. I did that too and it still didnt work. I AM SO DESPERATE, i just don't know what to do anymore. I NEED HELP DESPERATLY!<br>
<br>
If you think you can help me, please submit a reply or email me or icq me (33080477)<br>
Any help would be greatly appreciated.


URL:http://hammer.prohosting.com/~dundee/cgi-bin/frameset.html

Edit Report
I would suggest uploading the file in ASCII mode Posted by hass on 10 Jul 2000 at 10:23 PM
: Hi guys, i still have this problem with my perl script. Im spending hours on the web to find a solution for it. My problem is this:<br>
: <br>
: 1. i have a perl script<br>
: 2. this perl script reads text from a textfile<br>
: -the textfile is a *.txt file.<br>
: 3. the text is put in variabeles<br>
: 4. i use the variabeles to print them in html code for my page<br>
: <br>
: For opening the textfile i use:<br>
: open (A "tag_news.txt") || die bla bla bla.....<br>
: <br>
: When i use this with xitami (the offline webserver for windows that supports perl) it works perfectly. If i upload the script into my cgi-bin on my server that supports cgi/perl it doesnt work, but it gives a "http 500" error.<br>
: <br>
: i checked my script on:<br>
: * the "#usr/bin/perl" line<br>
: * on the header of the html<br>
: * i checked it with the "perl -w" command<br>
: * i checked it with the "perl -cw" command<br>
: * i checked that my server is running under UNIX<br>
: <br>
: And i heard something about setting script permissions by using CHMOD command. I did that too and it still didnt work. I AM SO DESPERATE, i just don't know what to do anymore. I NEED HELP DESPERATLY!<br>
: <br>
: If you think you can help me, please submit a reply or email me or icq me (33080477)<br>
: Any help would be greatly appreciated.<br>
: <br>
<br>






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.