1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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