$file = "https://shsmtech.com/forms/data/useragents.txt"; $file_arr = file($file); $num_lines = count($file_arr); $last_arr_index = $num_lines - 1; $rand_index = rand(0, $last_arr_index); $rand_agent = $file_arr[$rand_index]; ?>
echo $rand_agent ?>
echo $rand_ip ?>