Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help about send string via POST

    Hi all,
    I have a problem when trying to send data through POST method.
    Code:
    <select name=\"state\">
    <option ".($state eq 'NER' ? 'SELECTED' : '').">NEW,ESTABLISHED,RELATED</option>
    </select>
    when i submit, the data was:
    Code:
    &state=NEW%2CESTABLISHED%2CRELATED&
    Some special character was inserted.How do i preserve the origin string?

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,677
    Thanks
    6
    Thanked 1,008 Times in 981 Posts
    You inserted the special characters yourself. http://en.wikipedia.org/wiki/Percent...oding_in_a_URI


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •