Formmail Question

D

Deepster

Hi all,

Newbie question about formmail program here... I want to use formmail
on my contact us form, which has all the normal fields, name, address
and things like that. I want to check that the names and emails fields
are properly filled out when they click submit. I have the functions
working but how can I run both the functions and process the form when
the users click on submit button?

I am thinking, can I call formmail from inside the function instead of
the action?

Thanks
Deep
 
S

Sherm Pendley

Deepster said:
are properly filled out when they click submit. I have the functions
working but how can I run both the functions and process the form when
the users click on submit button?

That's a JavaScript question, not a Perl question. The answer would be the
same, regardless of what CGI is on the other end, or what language that CGI
happened to be written in.

Additionally, if you're using Matt Wright's formmail - don't. It has too
many bugs and security vulnerabilities to mention. Use the free nms (Not
Matt's Scripts) replacement instead:

<http://nms-cgi.sourceforge.net>

sherm--
 
T

Tad McClellan

Deepster said:
I want to use formmail


No you don't.



Crackers cruise the web looking for sites that use Matt's scripts
so they can exploit any of several security holes.

If you still *want* that, then you must be a real thrill seeker,
consider taking up skydiving instead. :)
 
D

Deepster

Thanks for the update guys, Yes I was wanting to use Matt's form
script. I dont think I want to go take up skydiving just yet so I will
stick with nms...

Thanks again
Deep
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,193
Messages
2,571,025
Members
47,628
Latest member
AdrianneOt

Latest Threads

Top