Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $connectto="66.147.242.176:3306";
- /* change this to your DB user */
- $connectuser="";
- /* change this to your DB User's password */
- $password="";
- $link = mysql_connect("$connectto", "$connectuser", "$password");
- if ($link) { echo "Connected successfully to $connectto', '$connectuser"; }
- if (!$link) { die("Could not connect: " . mysql_error()); }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment