Puzzling CGI effect

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
taylor
Posts: 10
Joined: Fri 22 Feb 2008, 08:24
Location: Manjimup, Western Australia
Contact:

Puzzling CGI effect

#1 Post by taylor »

attempting to set up an interactive Club Clothing order page for my cycle club I have a series of 5 perl scripts all tagged cgi.

They all are valid perl
They all write valid html
The last two post emails perfectly
All have 755 permissions

but after the 5th one has finished doing its stuff on the hosting server a dialogue box pops up in Seamonkey

"You have chosen to open orderform5.cgi which is a cgi file.
What should Seamonkey do with this file?"

I am baffled. What should I be looking for?

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#2 Post by GustavoYz »

Scripts are working? can you see their results?
What does web server transfers to the browser if accept it?
What server is?

User avatar
taylor
Posts: 10
Joined: Fri 22 Feb 2008, 08:24
Location: Manjimup, Western Australia
Contact:

Puzzling CGI effect

#3 Post by taylor »

It is amazing what a night's sleep can do.

This morning after setting the group write bit on a couple of files that I wanted to write to and cleaning up the

Code: Select all

print "Content-type:text/html\n\n";
line everything is wonderful

thank you Gustavo

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#4 Post by GustavoYz »

Sometimes is better get some distance...
:D

Post Reply