echo '<select name = "wslist">';
while($weblist = mysqli_fetch_array ($list)) {
echo "<option value = \"{$weblist['name']}\">{$weblist['name']}</option>";
}
echo '</select>';
http://site.ru/url/#param1=val1¶m2=val2
$name = "guru";
$path = "xxx/$name.conf";
echo $name;
echo $path;
$name = "guru";
у вас находится ниже $path = ... $max_num = 10000000;
$num_count = 100000;
$array = [];
while (count($array) < $num_count) {
$r = rand(0, $max_num);
$array[$r] = 1;
}
$array = array_keys($array);
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} oldsite.ru$
Rewriterule ^robots.txt$ robots-oldsite.txt [L]
RewriteRule (.*) http://www.newdomain.ru/$1 [R=301,L]