SHARE
TWEET

Untitled

a guest Dec 17th, 2012 26 Never
  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
Top