softhightech Posted July 8, 2015 Share Posted July 8, 2015 hello, here is my code <?php if(file_exists('../../../../config/config.inc.php')) { require('../../../../config/config.inc.php'); require_once('../../../../init.php'); }else{ die('file not exists'); } //i get variables values here example : $order = $_POST['order']; Db::getInstance()->insert('ps_order_detail_file', array( 'id_order_detail_file' => pSQL('NULL'), 'id_order_detail' => (int)$order, 'id_product' => (int)$product, 'original_file' => pSQL($original_file), 'worked_file' => pSQL($file_name), 'date_add' => pSQL('now()') )); ?> Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2015 Share Posted July 8, 2015 hello so strange path to config files where the .php file is stored? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now