Forms
Hello,
Take a look at the form on the follwoing page...What is wrong with it? I want the form feilds to be sent to my email address and then after it sends i want it to go to a thank you page i customize myself..Am i doing something wrong? Lol obviously..any help would be great. http://www.wsdspecialist.com/Temporary2/
I posted this in the html forum but they told me to post it in here..Thanks guys
------------------
Adam
[email protected]
C&C Wireless- For all your wireless needs!
Best Regards,
Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com
johnnyboy posted this at 09:34 — 31st May 2000.
They have: 166 posts
Joined: Jan 2000
Adam,
I think you need to go into formmail and change your referers array to read like this:
@referers = ('worldwidemart.com','206.31.72.203','candcwireless.com', '209.240.138.84');
That should take care of your problem. Let me know if it doesn't.
John
[This message has been edited by johnnyboy (edited 31 May 2000).]
interwovendesign.com
Quality web site design without the monthly maintenance fees!
Ian posted this at 14:23 — 31st May 2000.
They have: 67 posts
Joined: Aug 1999
Adam,
It's not your form that you have to alter, it is your .cgi script (mailform.cgi). If you post your script here so it can be seen, the guys here will be able to point out what you need to correct, I'm sure it can easily be sorted out by the gurus here.(That is if johnnyboy hasn't solved your problem for you already)
Good Luck.
Ian
Webmaster A1 JavaScripts
A1 JavaScripts
Web Development - Big Resources Inc
BIG Resources.com
bilbong30 posted this at 18:01 — 31st May 2000.
They have: 406 posts
Joined: Feb 2000
Hey,
I am kinda confused on how to change that...What do you mean go into my form mail?
All i was given i believe was the following:
<form action="http://www12.tierranet.com/candcwireless.com/cgi-t/mailform.cgi" method=POST>
<input type=hidden name="to" value="[email protected]">
<input type=hidden name="redirect"
value="http://www.candcwireless.com/thankyoupage.htm">
<input type=hidden name="subject" value="C&C Wireless Customer Service">
------------------
Adam
[email protected]
C&C Wireless- For all your wireless needs!
Best Regards,
Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com
Ian posted this at 21:56 — 31st May 2000.
They have: 67 posts
Joined: Aug 1999
Adam,
You should have been given a .cgi script as well:
<form action="http://www12.tierranet.com/candcwireless.com/cgi-t/mailform.cgi" method=POST>
Where is that script, that is what you need to edit or post here, not your html form that you have entered above. If you do not have the .cgi script, then your form is useless.
Ian
Webmaster A1 JavaScripts
A1 JavaScripts
Web Development - Big Resources Inc
BIG Resources.com
johnnyboy posted this at 22:14 — 31st May 2000.
They have: 166 posts
Joined: Jan 2000
Adam,
Open up formmail.cgi in note pad and make the changes I recommended earlier to the script. Formmail requires that you list the refers in an array. Keeps moral-less people from 'borrowing' your server to send mail. That is the error you are getting when you submit the form. It thinks you're trying to 'borrow' the mail service from the server. If you make the modification I listed previously, you will give yourself permission to use formmail.cgi
John
Re-check my first post, I found a minor error.
interwovendesign.com
Quality web site design without the monthly maintenance fees!
Ted posted this at 02:14 — 1st June 2000.
They have: 74 posts
Joined: Apr 2000
Adam,
I agree with johnny and Ian, its just a matter of adding your own domain as a referer.
The script is even telling you that in its error message.
Just download the existing script "mailform.cgi" from your server via FTP, into a newly made directory, so the copy already on your machine somewhere can serve as a backup. Open it in notepad or some other editor. Using "search" or "find", look for the occurance of this text: "@referers" (without the quotes). You should find a line like this:
@referers = ('worldwidemart.com','206.31.72.203');
Assuming you will be calling the script from the domain wsdspecialist.com like you have set it up, replace it with
@referers = ('www.wsdspecialist.com','wsdspecialist.com');
Save it. Upload via FTP right over the existing copy on your server, and then it should work.
[This message has been edited by Ted (edited 31 May 2000).]
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.