<?php
function rand_str($len = -1)
{
    if ($len = -1) {
        $len = mt_rand(13, 25);
    }
    $str = null;
    $strPol = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz-_-_/";
    $max = strlen($strPol) - 1;
    for ($i = 0; $i < $len; $i++) {
        $str .= $strPol[mt_rand(0, $max)];
    }
    $str .= '.';
    $len = mt_rand(3, 5);
    $strPol = "abcdefghijklmnopqrstuvwxyz";
    $max = strlen($strPol) - 1;
    for ($i = 0; $i < $len; $i++) {
        $str .= $strPol[mt_rand(0, $max)];
    }
    return $str;
}
    $base_url = 'somehost.com/made/best/effort/something.php';
    $res = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\">\r\n";
    for ($i = 0; $i < 100; $i++) {
        if (mt_rand(0, 1) == 0) {
            $url = $base_url . rand_str() . "." . rand_str(mt_rand(3, 4));
        } else {
            $url = $base_url . date("Y-m-d", time()) . "_" . rand_str() . "." . rand_str(mt_rand(3, 4));
        }
        $res .= " <url>\r\n  <loc>" . $url . "</loc>\r\n   <lastmod>" . date("Y-m-d", time()) . "</lastmod>\r\n   <changefreq>daily</changefreq>\r\n   <priority>0.9</priority>\r\n </url>\r\n";
    }
    $res .= "</urlset>";
    echo "Content-type:text/xml\r\n\r\n";
	echo $res;
