Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sending variables from a php file from flash


Citizen

Recommended Posts

Posted

I'm making a custom flash selector that has a bunch of variables for an item that I want added to the cart.

 

After the user selects what product he wants in the flash program, it sends the variables to a php file on my server.

 

These are the variables:

 

$cprice = $_POST["price"];
$cquantity = $_POST["quantity"];
$cstyle = $_POST["style"];
$clines = $_POST["numberoflines"];
$cline1 = $_POST["line1"];
$cline2 = $_POST["line2"];
$cline3 = $_POST["line3"];
$cfontcolor = $_POST["fcolorName"];
$cfontstyle = $_POST["fose"];

 

Now that I have the variables in the php file, how do I get it to send the variables to oscommerce to add it to the cart?

 

Thanks,

-Citizen

Posted

I only need to send the veriables to oscommerce from my php file, not back to flash. All I need this to do is add an item to the cart with the variable attributes listed above.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...