This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 27th, 2012  |  syntax: None  |  size: 0.20 KB  |  views: 23  |  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. <?php
  2. phpinfo();
  3.  
  4. phpinfo(INFO_MODULES);
  5.  
  6. $link = mysql_connect('localhost', 'root', '');
  7. if (!$link) {
  8.     die('Could not connect: ' . mysql_error());
  9. }
  10. echo 'Connected successfully';
  11. mysql_close($link);
  12. ?>
clone this paste RAW Paste Data