Birden url yürütmek

0 Cevap

Ben küçük bir sorun var. Ben php 5000 URL yürütmek bir komut dosyası çalıştırmak gerekir.

$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&destination=admin/user/user);
}

Herhangi bir fikir?

Thx.

0 Cevap