Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9148691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:20:38+00:00 2026-06-17T11:20:38+00:00

Say I were to post to a site using www.mysite.com?user=myuser does that simulate the

  • 0

Say I were to post to a site using http://www.mysite.com?user=myuser does that simulate the submit button that is associated with that form? If so, what happens if there are a number of submit buttons in the form?

Also, if that button’s html is like so <input name="button" class="button" type="button" value="Save" onclick="javascript: submit()" disabled> with the “disabled” attribute, does that mean I can’t POST http://www.mysite.com?user=myuser/won’t work?

<form name="Form" method="post" action="/thisAction.do">
    <input type="text" name="inquiryNo" maxlength="11" value="" onkeyup="javascript: checkNo()">
    <input name="buttonInquire" class="button" value="Inquire" onclick="javascript: submitInquire()" type="button">

    <!--Then comes a number of other inputs-->
    <input.../>
    <input.../>
    <input.../>

    <input name="modify" class="button" type="button" value="Save"
            onclick="javascript: submitModify()" disabled>

</form>

This is some sample code as it’s work stuff which I am not allowed to share. So when I use the inquire action a new account successfully loads up and the details are presented on the page. The modify action is meant to ‘modify’ those details but it just returns the same details displayed on the page. I get no sort of feedback from anything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:20:39+00:00Added an answer on June 17, 2026 at 11:20 am

    You can POST to a URL with a query string (the stuff after the ?), and since you say you’re using urllib2 with a data argument, that’s what happens. The server can then read both the POST data and the query string and do whatever it wants, though most of the time they’re merged together or the query string is ignored entirely.

    disabled only stops you from clicking the button in the browser (and even then, you can just un-disable it with a tool like Firebug). You can POST whatever you want to any URL you want; HTML can’t stop you, though the server can still give you an error if it wants.


    I think your problem is that “inquire” is the default action, and something’s wrong with your POST. So no matter what you send, the server isn’t recognizing it and is falling back to “inquire”.

    It looks like the form is intended to send modify=Save. Can you post the Python code you’re actually running?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have a blogging site http://www.example.com using custom cms, and I want each
Lets say my URL is: http://www.example.com/news/media-centre/news/17/an-example-news-post/?foo=bar I want to in PHP remove the last
My first post - firstly have to say that this site is great -
Let's say I have User model and Post model. Post model contains field user_id
Lets say for example: $(.button).click(function() { $.post(commandrunner.php, { param1: 'value', param2: 'value2', param3: 'value3'
Lets say that i have 2 pages: index.php and service.php index.php sends an http-post
Let's say I have some models: User , Post , and Vote . A
First off I would like to say that this is my first post and
I'd like to say that I solved the problem but I wanted post this
I'm investigating using Kohana for my next project. The site will consist of user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.