Changeset 2042918
- Timestamp:
- 03/02/2019 06:30:39 PM (7 years ago)
- File:
-
- 1 edited
-
wp-settings/trunk/wp-settings.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-settings/trunk/wp-settings.php
r2042908 r2042918 3 3 Plugin Name: WP Settings 4 4 Plugin URI: https://wordpress.org/plugins/wp-settings/ 5 Description: Displays the important information about WordPress such as the general wordpress settings,database,php and server related infomration.6 Version: 1. 35 Description:Displays the important information about WordPress installation such as general wordpress settings ,database and php information.You can generate DB Backup Script. 6 Version: 1.5 7 7 Author: CodeCompiled 8 8 Author URI: http://www.codecompiled.com … … 309 309 else 310 310 { 311 echo "Connected to MySQL: "; 312 echo "step no 0"; 311 312 $return=''; 313 313 314 $result = $mysqli->query('SHOW TABLES'); 314 315 … … 320 321 $tableCount=$tableCount+1; 321 322 $tables[] = $row[0]; 322 printf ("%s (%s)\n", $row[0], $row[1]);323 //printf ("%s (%s)\n", $row[0], $row[1]); 323 324 } 324 325 … … 344 345 { 345 346 $row[$j] = addslashes($row[$j]); 346 $row[$j] = ereg_replace("\n","\\n",$row[$j]);347 //$row[$j] = ereg_replace("\n","\\n",$row[$j]); 347 348 if (isset($row[$j])) { $return.= '"'.$row[$j].'"' ; } else { $return.= '""'; } 348 349 if ($j < ($num_fields-1)) { $return.= ','; } … … 356 357 ob_clean(); 357 358 header("Content-type: application/text"); 358 header("Content-Disposition: attachment; filename=dbBackup. txt");359 header("Content-Disposition: attachment; filename=dbBackup.sql"); 359 360 echo $return; 360 361 exit();
Note: See TracChangeset
for help on using the changeset viewer.