LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 03-18-2004, 03:17 AM   #1
sachitha
Member
 
Registered: Aug 2003
Location: Sri Lanka
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
Unhappy cgi-bins and fill out forms


i've created a fill out form in my web site at the URL which i have stated below.

http://www.geocities.com/sachitha_coolgal/form.html
i hope you can check it out .
i know i know it is pretty long. i mean my fill out form is pretty loong
but that cannot be the reason why my fill out form is now working right?

ppl can fill in stuff in the fill out form , but when u click on the submit button it gives this web page saying:
page cannot be displayed.

the output that should appear after the information goes to the cgi bin won;'t come up!!!
can someone pls help me out with this.
(any changes that i should do to my fill out form coding, or may be if it is too long or something possible suggessions as to what i should do n' all....)
thanks in advance!!

Last edited by sachitha; 03-18-2004 at 03:29 AM.
 
Old 03-18-2004, 03:50 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,314

Rep: Reputation: 175Reputation: 175
It's not a problem with the form.

Are you allowed cgi access by the server?
Is the cgi file in the right place?
Has it got correct read and execute permissions?

billy
 
Old 03-19-2004, 05:34 AM   #3
codedv
Member
 
Registered: Nov 2003
Location: Slough, UK
Distribution: Debian
Posts: 146

Rep: Reputation: 15
The URI your form is pointing to appears not to exist.
Code:
Not Found
The requested URL /cgi-bin/post-query was not found on this server.
 
Old 03-21-2004, 10:08 AM   #4
sachitha
Member
 
Registered: Aug 2003
Location: Sri Lanka
Distribution: Redhat 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
>>Is the cgi file in the right place?
Has it got correct read and execute permissions?

what do u mean by a cgi-file
i haven't given any such file . i have only given the URL of the cgi-bin server in my fill out form coding
 
Old 03-22-2004, 03:44 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,314

Rep: Reputation: 175Reputation: 175
The cgifile is what receives the data
from the form and processes it, usually
dynamically outputting a new html file.

try and google some CGI tutorials.
use perl CGI module is easiest.

look up the CGI modules on:
www.perldoc.com
billy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please, tell me the best free web hosting (wich has "fill-send" forms available) kornerr General 7 02-16-2005 12:20 PM
Posting to CGI Forms goldcougar Linux - Newbie 1 07-02-2004 11:13 AM
Autoresponders & CGI Forms & E-mail Headers Big Brad Linux - Newbie 0 05-25-2004 07:45 AM
installing .bins endezeichen Linux - General 1 12-20-2003 01:47 PM
CGI-BINS for virtual hosts in apache? Trixer Linux - Software 0 06-13-2003 10:15 PM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration