1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

need help

Discussion in 'Programming' started by bluemouse2, Sep 11, 2005.

  1. #1
    Can you turn this form into a full URL please? (let's say this code is in test.cgi file)

    <form method="POST">
    <input type="submit" value="Execute" class="form-button">
    <input type="hidden" name="action" value="Go now"><input type="hidden" name="admin" value="password"></form>

    I tried like this but it's not working:

    test.cgi?action=Go now&admin=password

    Thanks
     
    bluemouse2, Sep 11, 2005 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #2
    The form is a "post" so it won't accept a url

    however the script that catches it may allow $_GET (But probably not) so try

    test.cgi?action=Go%20now&admin=password
     
    sarahk, Sep 11, 2005 IP
  3. bluemouse2

    bluemouse2 Well-Known Member

    Messages:
    4,055
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    185
    #3
    problem solved, thanks!
     
    bluemouse2, Sep 11, 2005 IP