<commit_before><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php
    //include_once('../config.inc.php');
    include('../xmlrpc/xmlrpc.inc');

    // ------------------------------------------------------------------------
    // XMLRPC CONNECT PARAMETER:
    // ------------------------------------------------------------------------
    $user = 'admin';
    $password = '<PASSWORD>';
    $dbname = 'Fiam2017S';
    $server = 'localhost';
    $port = '18069';
    $type_connection = 'http';
    $server_url = "http://$server:$port/xmlrpc";

    // ----------------------------------------------------------------------------
    // LOGIN 
    // ----------------------------------------------------------------------------
    $sock = new xmlrpc_client("$server_url/common");
    $msg = new xmlrpcmsg("login");
    $msg->addParam(new xmlrpcval($dbname, "string"));
    $msg->addParam(new xmlrpcval($user, "string"));
    $msg->addParam(new xmlrpcval($password, "string"));
    $resp = $sock->send($msg);
    $val = $resp->value();
    $uid = $val->scalarval(); 

    // ----------------------------------------------------------------------------
    // CONFIRM PRODUCTION:
    // ----------------------------------------------------------------------------
    die($_GET);
    $mode = $_GET['mode'];
    $sol_id = $_GET['sol_id'];
    $redirect_url = $_GET['redirect_url'];
    
    //$args_read = array(new xmlrpcval("html", "string"),);
    $sock = new xmlrpc_client("$server_url/object");
    $msg = new xmlrpcmsg('execute');
    $msg->addParam(new xmlrpcval($dbname, "string"));
    $msg->addParam(new xmlrpcval($uid, "int"));
    $msg->addParam(new xmlrpcval($password, "string"));
    $msg->addParam(new xmlrpcval("sale.order.line", "string"));
    $msg->addParam(new xmlrpcval("print_label_from_php", "string"));
    $msg->addParam(new xmlrpcval($sol_id, "int"));
    $msg->addParam(new xmlrpcval($mode, "string"));

    $resp = $sock->send($msg);
    if ($resp->faultCode()) {<commit_msg>fast git<commit_after><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php
    //include_once('../config.inc.php');
    include('../xmlrpc/xmlrpc.inc');

    // ------------------------------------------------------------------------
    // XMLRPC CONNECT PARAMETER:
    // ------------------------------------------------------------------------
    $user = 'admin';
    $password = '<PASSWORD>';
    $dbname = 'Fiam2017S';
    $server = 'localhost';
    $port = '18069';
    $type_connection = 'http';
    $server_url = "http://$server:$port/xmlrpc";

    // ----------------------------------------------------------------------------
    // LOGIN 
    // ----------------------------------------------------------------------------
    $sock = new xmlrpc_client("$server_url/common");
    $msg = new xmlrpcmsg("login");
    $msg->addParam(new xmlrpcval($dbname, "string"));
    $msg->addParam(new xmlrpcval($user, "string"));
    $msg->addParam(new xmlrpcval($password, "string"));
    $resp = $sock->send($msg);
    $val = $resp->value();
    $uid = $val->scalarval(); 

    // ----------------------------------------------------------------------------
    // CONFIRM PRODUCTION:
    // ----------------------------------------------------------------------------
    die($_GET['all']);
    $mode = $_GET['mode'];
    $sol_id = $_GET['sol_id'];
    $redirect_url = $_GET['redirect_url'];
    
    //$args_read = array(new xmlrpcval("html", "string"),);
    $sock = new xmlrpc_client("$server_url/object");
    $msg = new xmlrpcmsg('execute');
    $msg->addParam(new xmlrpcval($dbname, "string"));
    $msg->addParam(new xmlrpcval($uid, "int"));
    $msg->addParam(new xmlrpcval($password, "string"));
    $msg->addParam(new xmlrpcval("sale.order.line", "string"));
    $msg->addParam(new xmlrpcval("print_label_from_php", "string"));
    $msg->addParam(new xmlrpcval($sol_id, "int"));
    $msg->addParam(new xmlrpcval($mode, "string"));

    $resp = $sock->send($msg);
    if ($resp->faultCode()) {
{'fraction_non_alphanumeric': 0.3912621359223301, 'fraction_numerical': 0.007281553398058253, 'mean_word_length': 1.4945520581113803, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 36}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3299680', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1161, 'n_words': 189}