SHARE
TWEET

Untitled

a guest Dec 17th, 2012 29 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT url FROM links ORDER BY RAND() LIMIT 1
  2.        
  3. $urls = array( ... );
  4. shuffle($urls);
  5.  
  6. // redirect to $url[0];
  7. header('Location: ' . $urls[0]);
  8. exit();
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top