Yes. But you could also telnet or ssh (secure shell connection) into the webserver if the host allows it, and execute scripts that way. But chances are you wouldn't do that. -----Original Message----- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 12:04 AM To: Mark Saunders Subject: RE: stupid question Oh I see - that makes sense - and I would only be using the *nix shell if i was, say a unix administrator or was running linux here on my box at home, right? tom -----Original Message----- From: Mark Saunders [mailto:[EMAIL PROTECTED]] Sent: Friday, July 20, 2001 12:05 AM To: [EMAIL PROTECTED] Subject: RE: stupid question It's not a stupid question. The script is fine, and it would run in a *nix shell, but you're using it on the web, so you have to add this line just below the shebang: print "Content-type:text/html\n\n"; -----Original Message----- From: Tom Malone [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 11:53 PM To: [EMAIL PROTECTED] Subject: stupid question I know this is a simple, stupid question, but i can't seem to find the answer. I've never used Perl before - only PHP. NOt very familiar with unix either... I'm trying to get this hello world script to work - I have the shebang - #!/usr/bin/perl at the beginning of the file, and verified with my host that it is the correct path. The host said to put the file in my cgi-bin, which i also did, and i chmoded it to 755, which was also a direction from my host. I tried naming it hworld.pl and hworld.cgi, but i still get this stupid 500 internal server error and can't figure out why. The script is very simple: #!/usr/bin/perl print "Hello World!\n"; Can someone please help this helpless newbie?? Thanks in advance! Tom -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]