PDA

View Full Version : Cgi Forms


Smintys
05-06-2003, 10:31 AM
Hi there, I been stuck on making my own form mail forms, I do have my own space on the net with cgi access, But am clueless on how to make your own form page!? I know how to make the bits where they fill out the details, but I don't know what to in when it comes to METHOD or ACTION etc etc!! I'm not sure what i should be putting or should be uploading some file to make it work, or maybe doing the whole thing wrong. Help!

ACJavascript
05-07-2003, 10:06 PM
Hey Smintys,

Well this is what you would put in the forms.

<form action="http://www.yoursite.com/cgi-bin/ScriptName.cgi" method="POST">

Most of the time if not all of the time the method will be post for mailers because you are sending information to the script..

Why not try my script ,, check it out and see for yourself how it would work.. If you need help just contact me.

http://www.acjavascripts.com/CGIScriptsACMailer2.html


Happy Scripting :D

Smintys
05-08-2003, 10:18 AM
Cheer ACJavascript, I will check that by next weekend, I am at college at the mo. Hopefully I will be suss it out by visiting your site.

Smintys
05-17-2003, 01:00 PM
I am home this weekend and tried to your script, I think I may have the problem my end. I followed your instuctions and done a form, but when i go to submit the form, i get a page saying "Internal Server Error". I got this form every form i try to do. Please check the page out at

http://www.sewingwishlist.com/test.htm

Cheers

optimism_
05-17-2003, 02:01 PM
Internal Server Error [500] means that the cgi script itself is not woking properly, not the forms at your end, unless they are sendind the data by the wrong method perhaps.

What are you actually trying to do with the form data? if you tell us, perhaps someone can write a custom script for you :thumbsup:

Smintys
05-17-2003, 02:43 PM
Cheers matey, I'm going to design another site all to do with Warhammer model pictures.

So in theory, someone would send so many pictures to me and also a text box with their description of there models and I would recieve the info and make a html page for them.

Here's quick rough diagram on what i mean.

http://www.sewingwishlist.com/test2.htm

All to my email address

Many thanks for your help

Smintys
05-20-2003, 04:46 PM
Anybody help?

ACJavascript
05-20-2003, 05:09 PM
Hello Smintys,

Contact me here: ACJavascript@aol.com

I can make that script for ya, :D