|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/conceptlabs1/ |
Upload File : |
<?php
include_once('common.php');
$name = "t1";
$ci = "dev";
$typ = (isset($_GET['all']))? trim($_GET['all']) : '';
$gcid = (isset($_GET['gcid']))? trim($_GET['gcid']) : '';
$msg = "hello";
include_once($site_path.'classes'.DIRECTORY_SEPARATOR.'class.Reply.php');
$rpl_obj = new Reply();
// include_once($site_path.'classes'.DIRECTORY_SEPARATOR.'class.Process.php');
// $pr_obj = new Process();
$name = preg_replace('/[^A-Za-z0-9]/', '', $name);
$ci = preg_replace('/[^A-Za-z0-9]/', '', $ci);
$gcid = preg_replace('/[^A-Za-z0-9:-_~]/', '', $gcid);
if($name != '' && ($ci != '' || $gcid != '')) {
$msg .= ' '.date('Y-m-d H:i:s');
// file_put_contents('/var/www/html/tmp/t.t','');
$return_val = $rpl_obj->sendMessage($name, $ci, $msg, $typ, $gcid);
/*
$args = array('site_path'=>$site_path,'site_uri'=>$site_uri,'class'=>'Reply', 'function'=>'sendMessage',
'params' => array($name, $ci, $msg, $typ, $gcid)
);
// print_r($args); exit;
$return_val = $pr_obj->genProcess($args);
*/
}
echo '';
exit;
// http://127.0.0.1:90/sc/swc/lt.php, (https://rtcamp.com/tutorials/linux/sysctl-conf/)
?>