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:
    http://www.pbworld.co.uk
    .... 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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice