Filling A Form With Php And Passing Headers

Discussion in 'PHP' started by redbayron2006, Mar 30, 2008.

  1. #1
    Hi there, ihave a problem with a script that im working right now.
    I have a form with some fields like this below:

    <form name="formTradeLinks" method="post" action="index.php">
    <input name="url" type="text" id="websiteurl" value="http://"
    <input name="description" type="text" id="description" value="" size="30" maxlength="50">
    <input type="submit" name="Submit" value="Submit Link">
    </form>

    I want to create a php script that fills this form (the fields url and description) and submits the form without entering the actuall page. Also i want the replay (to know if the forms submits ok) to appears in my script and not at the index.php. I know that i do this by passing headers but i havent done it before and i dont know how to do it.
    A help is needed thanks for your consern!
     
    redbayron2006, Mar 30, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    Can you give a example? because i still don't get what you like to see!
     
    EricBruggema, Apr 5, 2008 IP