Hoo boy, sounds like a winner of a hosting company ( good thing email
cannot display dripping sarcasm ). It sounds like the easiest way to
avoid getting an ulcer over this would be to convince the client to
change hosts ( i know i know, more headaches ). I have no idea why any
hosting company in their right mind would require someone to edit CGI on
the server, as long as it is uploaded in the proper format and CHMODded
properly, it should work. Sounds like that host is having a few too many
hiccups
( Case in point <snip>
I tried running a second program I have on the server and when I typed
in the URL it wanted to download it! </snip> )
the code snippet below works on every configuration of perl ive ever
used ( that was properly set up at least ), for the sake of your mental
health and to avoid bleeding ulcers - think about changing web hosts.
There are many hosts out there that your scripts will work fine with ( I
use 1and1.com to host 6 websites through one hosting account, I pay ~$50
every 3 months for 4GB of space, 3 MySQL DBs, CGI, PHP, CRON jobs, SSH,
5 free domains, and up to 100 external domains pointed to the website
for free, as well as 1000 email addys ( to any domain i host with them)
and more. they also have lower priced solutions for smaller goals as
well as microsoft or linux choice of hosting servers; IVChosting.com is
allright too, not the best monetary deal but they work.. et al)
OT: btw - what host exactly are you using? I want to remember to stay
away from them; most of my sites use a combo of Perl and PHP so that one
is one to avoid.
<snip>
Portman wrote:
Oh boy! It has been a long day!!
I found out that I need to edit the files on the server - the reason
they weren't working (?) is because I was not editing them on the
server. Whatever.
I am trying to get the page to output as HTML, but whenever I run the
script I get the html code displaying, not the html page. Any ideas?
My code is:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<HTML><HEAD>";
print "<TITLE>CGI Test</TITLE>";
print "</HEAD>";
print "<BODY><H2>I just wrote a web page using Perl!</H2>";
print "
____ • The WDVL Discussion List from WDVL.COM • ____
<BR>
To Join wdvltalk, Send An Email To:
mailto:[EMAIL PROTECTED] or
<BR>
use the web interface
http://e-newsletters.internet.com/discussionlists.html/
<BR>
Send Your Posts To: [email protected]
<BR>
To change subscription settings, add a password or view the web
interface:
<BR>
http://intm-dl.sparklist.com/read/?forum=wdvltalk
<BR>
<BR>
</snip>
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.