HighDots Forums  

Re: Why is my form sending garbage?

alt.html alt.html


Discuss Re: Why is my form sending garbage? in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Why is my form sending garbage? - 06-13-2008 , 02:05 PM






Scripsit Rich Grise:

Quote:
[Crossposted: alt.html,perl.beginners.cgi,because it's and HTML form
calling a perl CGI script.]
I wonder what the latter group is. I guess it has a limited
distribution.

Anyway, you should first check what gets sent as form data. If it is
wrong, you may have an HTML problem. If it is OK, then the problem is
not in HTML.

Quote:
Here is the (abbreviated) form
I'm using:
http://mysite.verizon.net/richgrise/...2captions.html (The
submit button won't work, I've got action on my local box.)
Huh? Yes, it does not work. Why don't you try making it work?

And why are you using XHTML? And invalid XHTML at that.

I think people can be expected to know how to View Source, if you expect
help from them.

Quote:
And here's its output from that script's interpretation of my form:
It looks like normal multipart form data, uninterpreted. I don't see
what you are trying to ask.

Quote:
But the site where I got this script:
http://bignosebird.com/formls1.shtml
offers a test html:
http://mysite.verizon.net/richgrise/...g/funform.html
Looks like their form defaults the enctype attribute while yours has
enctype="multipart/form-data". Apparently their script cannot handle
multipart data. This is a good reason to find a better script. Other
reasons include the following:
- it generates invalid HTML as the response
- when installed, it sets up an open relay, which can be used and will
be used by spammers to send spam thru your server, creating troubles for
you, too.
(It takes a form field and directly uses it as E-mail destination
address. This means that anyone or anything can use it to send E-mail to
anyone, as often as desired.)

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.