| 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/asap_sites/assetprotectionasap.com/php/ |
Upload File : |
<?php
session_start();
include_once($_SERVER['DOCUMENT_ROOT'].'/php/db_config_lc_user.php');
$db = connect_lc2user_new('asap_leads');
if(empty($_SESSION['partial_order_id'])) {
$is_there = $db->get_results("SELECT id FROM asap.USALivingWill WHERE ip_address='".$db->clean($_SERVER['REMOTE_ADDR'])."' AND ts >= CURDATE()");
if(!empty($is_there)) {
$_SESSION['partial_order_id'] = $is_there[0]->id;
} else {
$db->query("INSERT INTO asap.USALivingWill
(
ip_address
,ts
) VALUES (
'".$db->clean($_SERVER['REMOTE_ADDR'])."'
,NOW()
)");
$_SESSION['partial_order_id'] = $db->last_insert_id();
}
}
$db->query("UPDATE asap.USALivingWill
SET video_time='".$db->clean($_POST['seconds'])."'
WHERE id='".$db->clean($_SESSION['partial_order_id'])."'
AND video_time < '".$db->clean($_POST['seconds'])."'");