Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $userIP = $_SERVER['REMOTE_ADDR'];
- $con = mysql_connect( "localhost","lolerman","root" );
- if ($userIP == "75.186.88.171"){
- if ( !$con ){
- die( 'Could not connect: ' . mysql_error() );
- } else {
- mysql_select_db( "lolerman_lolerstream", $con );
- $query = "DELETE * FROM suggestions";
- $result = mysql_query( $query,$con ) or die( 'Could not execute query: ' . mysql_error() );
- }
- }
- mysql_close($con)
- ?>
Advertisement
Add Comment
Please, Sign In to add comment