ACC SHELL
<?php
header("Content-type: text/plain; charset=UTF-8");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
include( '../init-db-info.php' );
include( '../init-db.php' );
if ( isset( $_POST['productVariationID'] ) && isset( $_POST['color'] ) && isset( $_POST['text'] ) && isset( $_POST['count'] ) && isset( $_POST['availability'] ) )
{
$db->setItem( 'productVariation', $_POST['productVariationID'],
array( 'color' => $_POST['color'], 'text' => $_POST['text'], 'count' => $_POST['count'], 'availability' => $_POST['availability'] ) );
}
?>
ACC SHELL 2018