a Simple "post" problem

Discussion in 'Programming' started by phantomddl, Jul 1, 2007.

  1. #1
    phantomddl, Jul 1, 2007 IP
  2. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #2
    change the form's method to "get" instead of "post" though then you will need to search for $_GET['url'] instead of $_POST['url'] in your script.
     
    ansi, Jul 1, 2007 IP
    phantomddl likes this.
  3. PDoc

    PDoc Peon

    Messages:
    47
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #3
    
    <form action="check_fake_rank.php" method="post" name="frmfakerank">
        <input name="url" class="input-box-up" type="text" size="36" value="http://" />
        <input name="url" class="searchbutton" value="Check Pagerank!" type="submit" /><br />					
    			</p>
    
    HTML:
    If you want it to go to http://proddl.com/fake-rank-checker/check_fake_rank.php?url=google.com

    change

    
    method="post"
    
    HTML:
    to

    
    method="get"
    
    HTML:
    Also you forgot to close the <form> tag with </form>
     
    PDoc, Jul 1, 2007 IP
    phantomddl likes this.
  4. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #4
    isn't that was just said by me nearly 10 minutes ago?
     
    ansi, Jul 1, 2007 IP
  5. phantomddl

    phantomddl Well-Known Member

    Messages:
    2,856
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    160
    Articles:
    15
    #5
    thanx for the help :)
     
    phantomddl, Jul 1, 2007 IP
  6. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You must be new here :)

    This happens a fair amount. I always like to give the benefit of the doubt (maybe they opened the thread in a new tab and have only just got to it?) but I've seen people replying with the same answer more than a day late... you'll get used to it, just pretend that they're 'quoting' you because they agree with you and wear it as a badge of honour :)

    Otherwise you'll just get cynical like the rest of us!
     
    TwistMyArm, Jul 1, 2007 IP
  7. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #7
    new here? not really... as for it happening a lot, yes it does. this time i just found it pretty ridiculous so i thought i would point it out.
     
    ansi, Jul 1, 2007 IP
  8. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #8
    No I know that... it's a phrase (Slashdotism?), nothing more.
     
    TwistMyArm, Jul 1, 2007 IP