| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/pcisecureform.com/lcapi/ |
Upload File : |
<?php
if(!empty($_REQUEST['site_code']) && !empty($_REQUEST['client_id']) && !empty($_REQUEST['response'])) {
require_once($_SERVER['DOCUMENT_ROOT'].'/php/db_config_lc_user.php');
$db = connect_lc2user_new('lc2admin');
$db->query("INSERT IGNORE INTO upsell_button_clicks (site_code,client_id,response,ts,upsell_version,upsell_version_description)
VALUES (
'".$db->clean($_GET['site_code'])."',
'".$db->clean($_GET['client_id'])."',
'".$db->clean($_GET['response'])."',
NOW(),
'".$db->clean($_GET['upsell_version'])."',
'".$db->clean($_GET['upsell_version_description'])."'
)
");
if($_GET['response']=='No') {
//remove the upsell if it is there
$db->query("DELETE FROM lc2{$_GET['site_code']}_lc.lc_clients_subscriptions
WHERE reseller_id='".$db->clean($_GET['client_id'])."'
AND subscription_id IN ('2','3')");
}
}
?>