Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> A Submitted Field Doesn't Match The Select List
ginginca
post Jan 4 2007, 02:12 PM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 250
Joined: 6-July 06
From: The net (or at least that's what my family says)
Member No.: 14,330



I have a select list of cities which is about 10 cities.

I am getting a number of submissions (likely spams all from the same source) where the submitted value isn't from my list.

I was wondering how this is possible?
Go to the top of the page
 
+Quote Post
bluefish
post Jan 4 2007, 07:06 PM
Post #2


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 71
Joined: 16-December 06
Member No.: 18,419



It's really quite simple. When people submit information through your forms, they are not bound to the information you make possible because it is mere HTML and there is no checking as to the validity of the data. For example, you might have:
CODE
<form action="post.php" method=POST>
<select name=hello>
<option value=NY>New York</option>
<option value=BF>Buffalo</option>
<option value=CY>Calgary</option>
</select>
<submit value="Submit">
</form>


If someone were to duplicate that form info and post to the same page, they could change the select to a simple text box, where they could put anything they want. Of course, a more realistic way would be that they probably have a program that automatically posts random data with the names you provide to the page you provide.
Go to the top of the page
 
+Quote Post
TavoxPeru
post Jan 7 2007, 06:51 AM
Post #3


Super Member
Group Icon

Group: [HOSTED]
Posts: 802
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579
myCENTs:17.43



Another way is to simply send the data embeding in the URL, something like this will work:

http://your.domain.com/page.php?param1=val...p;param2=value2

Best regards,
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. You can Play now in Linux(26)
  2. List Of Free Mmorpg..(24)
  3. Comprehensive List Of Resources On Graphics/design(12)
  4. VB: Howto Auto-select Last Item In Listbox(5)
  5. Mud List(11)
  6. VB.NET: Switch Regional Language Automatically(1)
  7. List Of Funny Tech Signatures(7)
  8. DVD-Rom Doesn't Read DVDs(7)
  9. List Of Free MMORPGs(18)
  10. PC Takes Ages To Boot(8)
  11. A List Abosulutely Free MMORPGs(6)
  12. Any RPG (Report Program Generator) Programmers?(4)
  13. Orkut.com Auto Scrapper - Scrap Ur Friend List In One Go(13)
  14. Computer Suddenly Turning Off(25)
  15. List Of Free Applications(8)
  1. Gridview Doesnt Update After Deleting A Value(1)
  2. My Bitdefender Doesnt Delete All Viruses And Trojans(3)
  3. Mysql Query Question(3)
  4. My List Of Topics And Posts(5)
  5. Help! Usb Flash Drive(12)
  6. Stage.scalemode(1)
  7. Phpmyadmin Doesn't Work On Gamma Server(4)
  8. Some Usefull Linux Basic Commands And Utilities. Please Add To This List If You Know One.(0)
  9. List Of Free Mmos(1)
  10. New Games.(0)
  11. How To: Display A Members/user List.(3)
  12. Cpu Upgrade But It Doesn't Work(11)
  13. How Do You Get A Smf?(14)


 



- Lo-Fi Version Time is now: 2nd December 2008 - 11:18 AM