SHARE
TWEET

Untitled

a guest Dec 31st, 2018 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php  
  2.     $dirname  = $_POST["name"];  
  3.     $filename = $dirname;
  4.     // $filename = "{$dirname}"; // innecesaria
  5.  
  6.     $file = 'public_html/iconos/menu-icono.png';
  7.  
  8.     $newfile = "users/{$dirname}/iconos";
  9.     // $newfile = 'users/{$dirname}/iconos'; // error de l√≥gica no de PHP, no compones la ruta correctamente
  10.    
  11. // ...
  12.  
  13. $miuser = $_POST["name"];
  14. // $miuser = '$_POST["name"]'; // error sintaxis
  15. $mipass = $_POST["address"];
  16. // $mipass = '$_POST["address"]'; // error sintaxis
  17.  
  18. if(isset($_POST['login'])) {
  19. // if(isset($_POST['login'])) { // error sintaxis
  20.     $usuario = $_POST['usuario'];
  21.     // $usuario = $_POST['usuario']; // error sintaxis
  22.     $pass = $_POST['password'];
  23.     // $pass = $_POST['password']; // error sintaxis
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top