From ad8d037e8bfb3ec2286a6627726dcc65b153936d Mon Sep 17 00:00:00 2001 From: WizWiz Date: Sun, 16 Apr 2023 00:10:05 +0330 Subject: [PATCH] Update back.php --- pay/back.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pay/back.php b/pay/back.php index 90a43fa..67d908b 100644 --- a/pay/back.php +++ b/pay/back.php @@ -241,12 +241,13 @@ function doAction($payRowId, $gateType){ if($portType == "auto"){ $port++; }else{ - $port = rand(1111,65000); + $port = rand(12222,65000); } - // $remark = "{$srv_remark}-{$last_num}"; - $rnd = RandomString(4); - $remark = "{$srv_remark}-{$user_id}-{$rnd}"; + //$remark = "{$srv_remark}-{$last_num}"; + //$rnd = RandomString(2); + $randadad = rand(1000,99000); + $remark = "{$srv_remark}-{$randadad}"; file_put_contents('../temp.txt',$port.'-'.$last_num);