y el 4 - config.php
Código PHP:
Ver original<?php
/*
This script was downloaded at:
LightPHPScripts.com
Please support us by visiting
out website and letting people
know of it.
Produced under: LGPL
*/
/* Main Options */
//----------------
/* Which page user goes to after logoss */
$logoutPage = 'index.php';
/* Secure page to redirect to after login */
$loginPage = 'micuenta.php';
/* Secure page to redirect to after register */
$registerPage = 'registrado.php';
/* Start session? Set this to false, if
you are already starting the session elsewhere
*/
$startSession = TRUE;
/* Use Cookies with sessions*/
$useCookies = TRUE;
/* Stay loged in for? -> cookies */
/* in seconds:
3600 -> 1 hr, 86400 -> 1 day
604800 -> 1 week, 2419200 -> 1 month
29030400 -> 1 year
*/
$logedInFor = 2419200;
/* Domain name -> cookies */
$domainName = 'ofertasdiarias.net';
/*
Notes: Please note that using sessions,
will store a cookie with the ID on userside.
To make this work for users without cookies,
propagate the ID through the URLS
in this manner:
nextpage.php?<?php echo htmlspecialchars(SID); ?>
*/
/* Connect to database? Set to false, if you
are already conneted */
$connectDatabase = TRUE;
/* Database Info */
$databaseUserName = 'root';
$databaseUserPassword = 'dahiana';
$databaseHostName = 'localhost';
$databaseName = 'diarias';
/* Table Info */
$tableName = 'userlist';
$userNameField = 'userName';
$userPasswordField = 'UserPassword';
/** SEC 334 **/
?>