Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fwrite fwrite($open, $configFile) or
- 25: $open = fopen($config, 'w') or die ('Error opening config.php. <b>Error Number:</b> 002');
- 24: $config = "../scripts/config.php";
- 26: $configFile = '<?php /* _____ _ _____ __ __ _____ | __ \ | |/ ____| \/ |/ ____| | | | |_ _ __ _| | | | \ / | (___ | | | | | | |/ _` | | | | |\/| |\___ \ | |__| | |_| | (_| | | |____| | | |____) | |_____/ \__,_|\__,_|_|\_____|_| |_|_____/ */ If(!defined(\'GLOBAL_FILE\')) die(\'Sorry, no access to this file\'); //Website Settings $_CON[\'mysql\'][\'host\'] = "' . $host . '"; //Database Host $_CON[\'mysql\'][\'user\'] = "' . $user . '"; //Database Username $_CON[\'mysql\'][\'pass\'] = "' . $pass . '"; //Database Password $_CON[\'mysql\'][\'name\'] = "' . $data . '"; //Database Name $_CON[\'mysql\'][\'port\'] = "3306"; //Database Port $_CON[\'sql\'][\'opt\'] = "' . $opt . '"; //Database Option ?>';
- 7: $host = mysql_real_escape_string(stripslashes($_POST['mySQLHost']));
- 8: $user = mysql_real_escape_string(stripslashes($_POST['mySQLUser']));
- 9: $pass = mysql_real_escape_string(stripslashes($_POST['mySQLPass']));
- 10: $data = mysql_real_escape_string(stripslashes($_POST['mySQLName']));
- 11: $opt = $_POST['opt'];
- requires:
- 5: if(isset($_POST['mySQLPass']) && isset($_POST['mySQLName']))
- 16: if($check == false) else
- 22: if($dataB == false) else
Add Comment
Please, Sign In to add comment