Don't like ads? PRO users don't see any ads ;-)
Guest

Анекдот

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.27 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?
  2. $url_anekdot = connect("http://000a.ru/a/random_post");
  3. preg_match('/cument.write((.*?));/',$url_anekdot,$anekdot);
  4. $anekdot = str_replace("('"," ",$anekdot[1]);
  5. $anekdot = str_replace("')"," ",$anekdot);
  6. $anekdot = str_replace("<br />","
  7. ",$anekdot);
  8. echo $anekdot;
  9. ?>