1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

send variable question......How....???

Discussion in 'PHP' started by oliverzimmerman, Apr 22, 2008.

  1. oliverzimmerman

    oliverzimmerman New Member

    Joined:
    Apr 14, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi experts....:)

    How can I send variables from a PHP script to another URL using POST without using forms and hidden variables?

    many thanks for any reply.....
     
  2. pete_bisby

    pete_bisby New Member

    Joined:
    Nov 11, 2007
    Messages:
    48
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Software Developer/Analyst, PB
    Location:
    Manchester, England
    Home Page:
    .... you can't.

    The whole point of populating the POST array is via a HTML form submission, whether the inputs are enter via a user or pre-populated when they are hidden.

    You can either place information within the SESSION array, making the information available later on in another PHP script/page, or by using JavaScript/AJAX and posting the information dynamically.
     

Share This Page