A Submitted Field Doesn't Match The Select List

free web hosting
Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

A Submitted Field Doesn't Match The Select List

ginginca
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?

Reply

bluefish
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.

Reply

TavoxPeru
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,

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Similar Topics

Keywords : submitted, field, doesnt, match, select, list

  1. How Do You Get A Smf?
    Help, I've tried the tutorials and it doesn't help (14)
  2. Cpu Upgrade But It Doesn't Work
    (11)
    Okay, so, here's the deal. The guy who originally installed my old CPU installed it in a manner
    that the fan on top of it melted off any product numbers and all that. All I know is that the place
    it hooks into says mPGA478B. It was originally a Celeron. Well, when taking it out, the pins were
    bent, so I needed to buy a new one. I went online to find one, searched the mPGA478B thing, cross
    referenced it with the Dell, it said everything was a-okay. BUT, once I received it, it didn't
    work. The new one is an Intel Pentium 4, Northwood Core 478 Socket with spe....
  3. How To: Display A Members/user List.
    With PHP, Mysql, and HTML. (3)
    Alright, some of you might want to display your User's or Members on your site. Notes: 1.This
    is to fit in with Feelay's register and Log-in scripts you can find in the tutorial section. 2.I
    made this to show the members of my site who is a member and what their ID is. First off, we must
    set up a connection to our MySQL Database. CODE $con =
    mysql_connect("localhost","database_username","database_username_password"); if (!$con)   {
      die('Could not connect: ' . mysql_error());   } What it does: 1.It is starting a PHP
    document. 2.Next it sets....
  4. New Games.
    Looking for a list of Brand New Games. (0)
    I have just recently stumbaled upon asroempiers just as it was lunching a new server, i thought this
    was great untill my newbiness got the better of me and it soon became very hard work. I was
    woundering if there was any games that have just been lunched or are being alpha testing so that i
    would be in the same boat as everyone.....
  5. List Of Free Mmos
    (1)
    I thought I'd make a list of a few of the free MMOs I'm aware of. I know there are more but
    I can't think of any specifics at the moment, so I will add to the listing later. Fly For Fun
    is a 3D cartoony MMO, it seems to be fairly successful. I don't know a whole lot about it but
    there's some general info on Wikipedia Fury is a 3D entirely PvP-centric MMO that was
    released as a retail game, but due to some unpopular changes made to the game it lost alot of its
    fan-base. It was extremely successful during beta and its initial stages, but no lo....
  6. Some Usefull Linux Basic Commands And Utilities. Please Add To This List If You Know One.
    (0)
    Let me give some usefull linux commands and utilities. Please add to this list if you know.
    Work with tar files. To make tar archive use $ tar -cvf filename.tar filename
    To extract tar archive use $ tar -xvf filename.tar To extract tar archive
    with gz use $ tar -xzvf filename.tar.gz Connect to remote system through ssh
    $ ssh name@ip followed by passwd e.g. ssh project@172.16.0.14 passwd: List the
    file in current directory $ ls -l list the running process ....
  7. Phpmyadmin Doesn't Work On Gamma Server
    (4)
    Ok, this is weird, phpMyAdmin doesn't work on Gamma server what-so-ever. xboxrulz....
  8. Stage.scalemode
    When my image scale down my stage doesn't follow. How to make it w (1)
    Well I have made a movie where the intro is an image (812 x 458). When it reaches around frame 20
    (after all the motion and tweening) I scaled down the image (541 x 305) and other effects will take
    place around this size only. The problem I'm facing is that the stage doesn't scale down or
    change size when the image has. Can somebody help me? You can actually visit LV UK Intro Page
    intro movie. That's what I'm trying to do.....
  9. Help! Usb Flash Drive
    windows doesn't recognize it anymore... (12)
    So my uncle asks me to format his computer and install windows and stuff. So I did like I do with my
    PC every six months. No problems at all, everything was working. So I proceeded to install drivers,
    which I had already on my flash drive, a 2GB PNY flash drive. But, for some reason, the usb drive
    was not recognized by windows XP on my uncle's PC, and I tried again on another port. No luck. I
    was thinking maybe all the usb ports were broken or something... but then I went to my desktop and
    proceeded to connect my usb drive to burn the drivers on to a CD. And what&#....
  10. My List Of Topics And Posts
    (5)
    How can i save all the topics and posts i made??? I know that i can do it by accesing my control
    panel and then save the complete page but what i need is just only the list of this information, is
    there a way to get this as a HTML file only or better yet as a CVS file??? Hope i'm posting in
    the correct place, if not, please move it to the best place. Best regards,....
  11. List Of Freeware That You Just Can't Do Without - Part 1
    (6)
    Hi, This is a lit of freeware that I have come to use after years of experimenting.
    Security/Protection: Antivirus: Avira Antivir - This is one of THE best Antivirus software in the
    world and it comes for free. Its significantly better that NOD or McAfee or Norton, so you can
    understand its power.......... Firewall: Comodo - This one is NOT 'one of the best
    firewalls' in the world. It is THE best firewall in the world. And its FREE. Its quiet amazing.
    I really don't understand how the other firewall makers are making people to pay for their
    inferior produ....
  12. Mysql Query Question
    MySQL Select query problem (3)
    Hii Guyz, I am having this little problem creating a query in MySQL. Problem description: Table:
    mytable Table Structure: IssueId | ToolName | Status 01 | Tool1 | Open 02 | Tool1 | Closed 03 |
    Tool2 | Closed 04 | Tool3 | Open Now, I want to get the results in the following form: ToolName |
    Count(Open) | Count(Closed) For the above input, result will be: Tool1 | 1 | 1 Tool2 | 0 | 1 Tool3
    | 1 | 0 There should be NO duplicate toolName in output. Thnaks, Manu.....
  13. My Bitdefender Doesnt Delete All Viruses And Trojans
    (3)
    I used Bitdefender Internet Security for 4 months and when I scan it will get some viruses but didnt
    delete it. It says 'no action'. I already updated it but still it doesnt clean/delete the
    viruses and trojans.....
  14. Gridview Doesnt Update After Deleting A Value
    (1)
    I have a gridview i managed to update using the edit option in the smartmenu. The problem comes when
    i delete a value or make a value read only. Say i have a table Employee with the following
    columns : EmpID, Emp Name, Password, Emp Type. Now when i remove the value EmpID, the gridview
    does not update. it just reloads when i hit update but no changes are made. On the other hand say
    i make Emp Type as Read only, when i update .. the gridview updates, but the value of Emp Type
    updates as blank. While editing other values, the value of Emp Type that i made readon....
  15. Select All Button
    (5)
    I have an HTML question. I have two boxes on a page and plan to add a few more. The first box
    contains a block of HTML code and a SELECT ALL button at the bottom, using this line of cide: CODE
    It works fine. My second box has a similar line of code: CODE But when I click
    THAT one, it still selects the cide in my FIRST box. Can anyone help? Thanks. Gin....
  16. List Of Free Applications
    (8)
    I'm posting a small list of FREE applications here! ( Is copied from my own forum
    /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> ) (You can
    reply to the post if you need to add some more stuffs to the list ) 3D Graphics: Anim8or -
    http://www.anim8or.com/ Blender - http://www.blender3d.org/ gmax -
    http://www.discreet.com/products/gmax/ Maya Personal Learning Ed. -
    http://www.alias.com/eng/products-s...ple/index.shtml Now3D -
    http://digilander.libero.it/giulios/Eng/homepage.htm SOFTIMAGE|XSI EXP - ....
  17. Computer Suddenly Turning Off
    Well it seems my computer doesn't like me. Sad huh? (25)
    My computer has been acting in a weird way for some time, and I don't remember doing anything
    that could cause this hardware-wise. I'll try to describe it: After some time powered on, the
    system suddenly *poof* shuts down in a harsh way. I press the Power button but it doesn't turn
    on. Then, I remove the power cable from it's back, wait for some hour(s) and turn it on ok,
    until it turns off again. I'd risk also to say that the 'uptime' I get after a shutdown
    is somehow proportional to the time I left the power cable off it. Some would say it&....
  18. Orkut.com Auto Scrapper - Scrap Ur Friend List In One Go
    For the Orkutters (13)
    hi fellas, as most orkutters know that u cant scrap ur whole friend list in one go. i cant keep
    my friends up to date with myself (since they dun know whats a blog) so i have to scrap them all
    individually. having 100+ friends i decided to use an autoscrapper and came across Scrapboy.
    bugged up with Scrapboy's bulky interface and huge download size, i decided to code my own auto
    scrapper for Orkut.com If you don't know what it is, hit the following link
    http://www.captainron.uni.cc/orkutter (click download to download) its around 570Kb in download
    and ....
  19. Any RPG (Report Program Generator) Programmers?
    No, it doesn't stand for Roll Playing Game! (4)
    Are there any R.P.G. Programmers on board? R.P.G. as in Report Program Generator, first
    started on the old, old, I.B.M. System 38 (or was it the 36?) then migrated to the I.B.M. AS/400,
    which is now called the I.B.M. iSeries, or The I.B.M. i5... I just happen to be an R.P.G. Senior
    Programmer (have been for many years) so if there are any R.P.G.ers out there that need any help or
    want to discuss logic/technique, post here, or drop me a message. ....
  20. A List Abosulutely Free MMORPGs
    Thats right FREE! (6)
    Here is a list of MMORPG i have collected, they are all absolutely free! note: sry theres no
    Pictures or direct links (to find the website, just search it up on google) The pricing of these
    game may change (as in become frome free to pay to play) ___________ Gunbound Rakion Runescape
    Pristontale (free til lvl 40) Auditon Online Dance Battle (online version of DDR) Holy Beast
    Online Dream Of Mirror Online Guild Wars (not free, you need to buy the game, but no monthly
    fees) Lineage 2 (the retail version is not free, although there are very advance private s....
  21. PC Takes Ages To Boot
    PC doesn't boot at all until hours later when I tried to switch it (8)
    Hey all, A computer noob here when it comes to the technical stuff..would really appreciate it
    someone sheds some light on what's going on. /unsure.gif" style="vertical-align:middle"
    emoid=":unsure:" border="0" alt="unsure.gif" /> My pc was working fine until several weeks ago,
    when the time/date doesn't update itself everytime I boot my computer and I had to manually
    update it. A week or so after, my pc refuses to boot properly until F1 is pressed. Finally, the day
    came when my pc couldn't be powered on like usual. I'd jam the switch a million times....
  22. List Of Free MMORPGs
    (18)
    I wrote this a while ago With the help of some people If you have any questions or anything Message
    Me! 5 Masters Online strategy game. AdventureQuest AdventureQuest is a free lunch break sized
    RPG that you can play daily using your web browser. We are adding new things every week! Join us in
    shaping the direction of this campy yet addictive role playing game. Alien Assult Traders Alien
    Assault Traders is a multiplayer turn based space trading game. Where players use turns that are
    accumilated over time to trade good and build empires and take over the universe....
  23. DVD-Rom Doesn't Read DVDs
    Could it be bad SW or is it HW? (7)
    Hello. I have bought a new DVD-ROM from LG recently. But after some days it stopped reading any DVD
    I try. And I tried the same DVDs that it read without any problem just few days ago. And another
    thing, it reads CDs normally, but this is normal I guess because it doesn't use the same
    technology to read CDs and DVDs. At first I thought that it might be a software problem because I
    have installed Nero Image Drive and also Alcohol120% in the time that it stopped to work but than I
    tried to boot not WinXP with SP2 but a Knoppix Linux from CD and it didn't work eithe....
  24. List Of Funny Tech Signatures
    Here are the one's I have encountered. (7)
    Hey guys, I been lurking around checking out some forums, Unix/Linux pages, and I found some funny
    signatures that I want to share with you guys. Videogame forums are also good places to find such
    signatures. If you have any others you want to add up that are good ones feel free to do so. Take
    in mind that the following signatures are Tech-related, cause I like tech stuff. Signatures: 1) One
    picture is worth 128K words. 2)The UNIX philosophy basically involves giving you enough rope to
    hang yourself. And then a couple of feet more, just to be sure. 3)The difference ....
  25. VB.NET: Switch Regional Language Automatically
    When the field being edited gets FOCUS (1)
    Switch the language of the Textbox Control automatically upon receiving focus Hi guys, This
    tutorial sparked off from my own ventures to incorporate a particular feature in my own software -
    which uses mixed language (English & Thai) on a couple of screens to store user data. Certain
    fields, apart from First & Last Names & parts of address were to be entered in Thai. Now the current
    language can be easily switched by pressing Alt-Left Shift (or whatever key combination you've
    set your system to) - but when you consider the same key-combination has to be repe....
  26. Mud List
    Peoples favourite MUDs (11)
    I am currently an Immortal (member of staff) on a new MUD, IahMUD. It is not entirely open to the
    public yet, but hopefully it will be soon. We have a number of good coders and builders so it should
    turn out well. If you are interested you should check out the website: www.iahmel.com A great MUD in
    the making.......
  27. VB: Howto Auto-select Last Item In Listbox
    (5)
    Hi, I'm just writing a small program with a friend that is kind of pointless at the moment
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> but there was one issue
    that we haven't been able to work out with a listbox and we aren't too sure if its even
    possible to do it. /unsure.gif' border='0' style='vertical-align:middle' alt='unsure.gif' /> My
    question is, is it possible to make a listbox automatically scroll to the bottom of the list when a
    new item is added? if so can anyone please let me know? Thank you all in advance for ....
  28. Comprehensive List Of Resources On Graphics/design
    All of you should contribute (12)
    HI all, This is what my plan is... We've got hundreds of posts on good graphics and design
    site links all spread across multiple posts, some of which just age out and fall to the bottom of
    the list and then there are reposts on the same topic again. My plan is to come up with some such
    good lists with contributions from all of you. But instead of having the links spread across
    multiple posts or replies to this topic, I'll merge your posts into ONE BIG POST with all the
    links presented serially - making it much easier for our readers to find out...as well as....
  29. List Of Free Mmorpg..
    (24)
    Do enjoy this list /wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /> (ALl
    these are games i have played b4 and are still free): www.runescape.com This game is so called "3D"
    .. although i looks like it, i don't feel it is 3D /tongue.gif' border='0'
    style='vertical-align:middle' alt='tongue.gif' /> .. this is a quite a fun game actually. I played
    this game actually 2 years back. You can do lots of things like mining, blacksmithing, fishing and
    there are many quests in this game. Very typical MMORPG /smile.gif' border='0' style='vertical-ali....
  30. You can Play now in Linux
    These is a list of the games. (26)
    You can Play a greates gameg in linus as: Unreal Tournament Quake 3 Wolfenstein Enemy teritory Medal
    of Honor And Emule Nintendo 64 and Play Station games. He have your property games as: Tux Raser
    Tux Cart Flith of the amazon queen Beneath a Steel Sky and most more.....

    1. Looking for submitted, field, doesnt, match, select, list






*SIMILAR VIDEOS*
Searching Video's for submitted, field, doesnt, match, select, list
Similar
How Do You Get A Smf? - Help, I've tried the tutorials and it doesn't help
Cpu Upgrade But It Doesn't Work
How To: Display A Members/user List. - With PHP, Mysql, and HTML.
New Games. - Looking for a list of Brand New Games.
List Of Free Mmos
Some Usefull Linux Basic Commands And Utilities. Please Add To This List If You Know One.
Phpmyadmin Doesn't Work On Gamma Server
Stage.scalemode - When my image scale down my stage doesn't follow. How to make it w
Help! Usb Flash Drive - windows doesn't recognize it anymore...
My List Of Topics And Posts
List Of Freeware That You Just Can't Do Without - Part 1
Mysql Query Question - MySQL Select query problem
My Bitdefender Doesnt Delete All Viruses And Trojans
Gridview Doesnt Update After Deleting A Value
Select All Button
List Of Free Applications
Computer Suddenly Turning Off - Well it seems my computer doesn't like me. Sad huh?
Orkut.com Auto Scrapper - Scrap Ur Friend List In One Go - For the Orkutters
Any RPG (Report Program Generator) Programmers? - No, it doesn't stand for Roll Playing Game!
A List Abosulutely Free MMORPGs - Thats right FREE!
PC Takes Ages To Boot - PC doesn't boot at all until hours later when I tried to switch it
List Of Free MMORPGs
DVD-Rom Doesn't Read DVDs - Could it be bad SW or is it HW?
List Of Funny Tech Signatures - Here are the one's I have encountered.
VB.NET: Switch Regional Language Automatically - When the field being edited gets FOCUS
Mud List - Peoples favourite MUDs
VB: Howto Auto-select Last Item In Listbox
Comprehensive List Of Resources On Graphics/design - All of you should contribute
List Of Free Mmorpg..
You can Play now in Linux - These is a list of the games.
advertisement




A Submitted Field Doesn't Match The Select List