Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $config = array(
- 'server' => 'irc.twitch.tv',
- 'port' => 6667,
- 'channel' => '#sniffingpickles',
- 'name' => 'sniffingpickles',
- 'nick' => 'sniffingpickles',
- 'pass' => '##', // get this from: http://twitchapps.com/tmi/
- );
- $servername = "localhost";
- $username = "root";
- $password = "06SCbzI4yQ";
- $dbname = "test";
- $conn = new mysqli($servername, $username, $password, $dbname);
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement