/
var
/
www
/
clients
/
client1
/
web2
/
web
/
latynplast
/
Connections
/
/var/www/clients/client1/web2/web/latynplast/Connections
mkdir
upload
Name
Size
Mode
Actions
latynconexiones.php
1016
0644
edit
dl
rm
Edit:
/var/www/clients/client1/web2/web/latynplast/Connections/latynconexiones.php
(1016B)
<?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_latynconexiones = "localhost"; $database_latynconexiones = "2021"; $username_latynconexiones = "2021"; $password_latynconexiones = "zxN!iYyF6"; $latynconexiones = mysqli_connect($hostname_latynconexiones, $username_latynconexiones, $password_latynconexiones) or trigger_error(mysqli_error(),E_USER_ERROR); if(!preg_match('/admin/',$_SERVER['PHP_SELF'])) { if (!isset($_SESSION)) {session_start();} mysqli_select_db($latynconexiones, $database_latynconexiones); include_once "admin/funciones.php"; if ((isset($_SESSION['MM_User_Id'])) && ($_SESSION['MM_User_Id'] != "")) { $id_session = $_SESSION['MM_User_Id']; } else { $id_session = session_id(); } } $email_principal = 'tecnica@latyn.net'; $cabeceras = "MIME-Version: 1.0\n"; $cabeceras .= "Content-type: text/html; charset=iso-8859-1\n"; $cabeceras .= "From:Latynconexiones<".$email_principal.">"; $cabeceras .= "\n"; ?>
Save
cmd:
run