...

View Full Version : forms---desperately need help with 2 different ones



hksalander
10-27-2008, 03:19 AM
I have 2 forms i need to create and im not sure why one isnt working when it did before and the other one i havent done anything to yet.

1. submit button says files not found but it is on the server and worked before so why isnt it working now?

2. i created a form that says your name, your email address and submit but i dont know how to get it to work.


i am awful with forms, i havent done this stuff in ages. please help

ifubad
10-27-2008, 05:40 AM
for the contact.txt, if you are calling the cgi-bin from the root dir, than remove the first / to look like this cgi-bin/cgiemail000/mailtemp.txt

if you are calling from one of the sub dir of root, than add .. to look like this ../cgi-bin/cgiemail000/mailtemp.txt

hksalander
10-27-2008, 06:05 AM
for the contact.txt, if you are calling the cgi-bin from the root dir, than remove the first / to look like this cgi-bin/cgiemail000/mailtemp.txt

if you are calling from one of the sub dir of root, than add .. to look like this ../cgi-bin/cgiemail000/mailtemp.txt

i changed that, thank you but still it is not working. Ive checked and is is on the server i dont know why its not working. my test page is at http://luannadams.com/contactneedsfixed.html

It is on the server though, i attached a picture with view of the files

gnomeontherun
10-27-2008, 11:18 AM
I don't think you can call a .txt file from a form, the server will only send it as plain text. Is this a perl script or something? You should make sure that the file has the proper extension, like .cgi.

Also if you have huge troubles you could try putting the full URL, like http://luannadams.com//cgi-bin/cgiemail000/mailtemp.txt in the form.

tagnu
10-29-2008, 03:27 PM
Check this link - How to Resolve an HTTP 405 Resource not allowed Error in IIS (http://www.somacon.com/p126.php)

From the site:


The file type is not registered in the IIS script map
settings (e.g. .html or .htm). IIS 5.1 only allows HTTP requests of
type to GET to unmapped files. HTTP requests of type POST, HEAD, and
all others are responded to with a 405 resource not allowed error.

hksalander
11-05-2008, 03:03 AM
Sorry it took so long to reply back. Those are just pieces of the code thats why they dont have the document info, just the form part that i need help with

owt200x
11-05-2008, 06:23 PM
you could always just use a different contact form :) instead of cgi, mine uses php

look at my sample one i made at http://owt200x.us/formtest/

a link for it to download without captcha is http://owt200x.us/formtest/contactform.rar

a link for it to download with captcha is http://owt200x.us/formtest/contactformcaptcha.rar

i can modify it a little if youd like, like add form elements rename stuff. mainly small things :) im not the best



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum