Execute multiple url
<p>I have a little problem. I need to execute an script that execute 5000 URL in php.</p>

<pre><code>$con = mysql_connect("localhost","user","psswd");

if (!$con) {
  die('Could not connect: ' . mysql_error());
}
mysql_select_db('db_name', $con);

print "connected";

$result = mysql_query ("SELECT name, uid FROM obinndocusers");

// I need to execute that url for each user
while ($row = mysql_fetch_array($result)) {
        header (Location http:xxxxxxxx?q=user/" . $row['uid'] . "/edit&amp;destination=admin/user/user);
}
</code></pre>

<p>Any idea??</p>

<p>Thx.</p>
