I was wondering how I can send variables from a php script to a cgi script through exec then return the value of the cgi script on to the browser.
ie. ( the shopping cart is done in cgi ) When a user clicks on a link for more information on a product, that gets sent to a php script that searches a very simple .txt database and finds that product and outputs the products info. In order for the "Add to Cart" link to appear, that product information must get passed to the cgi cart script, where it then can take the variables and place them in the proper places so that when the user clicks on "Add to Cart" the information variables are in their own proper place in the shopping cart.
Basically I want to send the product information from the database (php script) to the cgi script (shopping cart) to then display the "Add to Cart" link with it's proper variables on to the browser....