Hem | Visa källkod | XHTML | CSS | How to become a hacker

Visa källkod

Nedanstående filer finns i denna katalogen. Klicka på en fil för att visa dess innehåll.

php-to-db/

common.php
config.php
index.php
mssql1.php
mssql1.phps
mssql1.php~
mssql2.php
mssql2.phps
mysql1.php
mysql2.php
source.php

config.php
<?php
// ==================================================================
// User Settings -- CHANGE HERE
//
// On ssh.student.bth.se, protect the password in this file by 
// executing the following command (in the same directory as the file)
// 
//  sudo chgrp_www-data
// 
/* EXAMPLE

mos@sweet: ls -l config.php 
-rw-r--r-- 1 mos 500 407 2009-09-29 23:06 config.php
mos@sweet: sudo chgrp_www-data
[sudo] password for mos: 
mos@sweet: ls -l config.php 
-rw-r----- 1 mos www-data 407 2009-09-29 23:06 config.php
mos@sweet: 
*/
//

// Database
define('/* <em>DB_USER,  is removed and hidden for security reasons </em> */ );
define('/* <em>DB_PASSWORD,  is removed and hidden for security reasons </em> */ );
define('DB_DATABASE',   'mos');                          // <-- mysql db name
define('DB_HOST',       'blu-ray.student.bth.se');  // <-- mysql server host


?>
 .                        
..:    © Mikael Roos, 2009